Tag: 83d057107382b74a4b15c59971631aa3542599a5

PCI: hotplug: ensure a consistent return value in error case

Author: Julia Lawall <Julia.Lawall@lip6.fr> Typically, the return value desired for the failure of a function with an integer return value is a negative integer. In these cases, the return value is sometimes a negative integer and sometimes 0, due to a subsequent initialization of the return variable within the loop. A simplified version of the …

Continue reading