Tag: 41fb433b63cc4745f4918fdaf295763da5ca826c

arch/x86/kernel/kdebugfs.c: 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