On Mon, 2020-05-25 at 08:58:38 UTC, Miquel Raynal wrote: > Many function calls are done this way: > > if ((retval = func()) != 0) > return retval; > > while we expect in the kernel function calls like: > > retval = func(); > if (retval) > return retval; > > Apply this change where possible and also use "ret" instead of > "retval" in ns_init_module for consistency, as it is only used in this > function. > > Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx> Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next. Miquel ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/