Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea183a95 authored by Olof Johansson's avatar Olof Johansson Committed by Paul Mackerras
Browse files

[PATCH] powerpc: remove warning in EEH code



Remove warning in eeh code about mixed variables and code.

Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
Acked-by: default avatarLinas Vepstas <linas@austin.ibm.com>
Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
parent 5388fb10
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -208,10 +208,11 @@ static void __eeh_mark_slot (struct device_node *dn, int mode_flag)
{
	while (dn) {
		if (PCI_DN(dn)) {
			PCI_DN(dn)->eeh_mode |= mode_flag;

			/* Mark the pci device driver too */
			struct pci_dev *dev = PCI_DN(dn)->pcidev;

			PCI_DN(dn)->eeh_mode |= mode_flag;

			if (dev && dev->driver)
				dev->error_state = pci_channel_io_frozen;