On Wed, Mar 11, 2015 at 11:25:41AM +0100, Arnd Bergmann wrote: > A recent fix to the error handling in this driver introduced a > harmless warning: > > serial/serial_mctrl_gpio.c: In function 'mctrl_gpio_init': > serial/serial_mctrl_gpio.c:110:4: warning: return makes pointer from integer without a cast > serial/serial_mctrl_gpio.c:90:6: warning: unused variable 'err' [-Wunused-variable] > > This removes the unused variable and uses the ERR_CAST helper > to return the error value as the correct type. > > Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx> > Fixes: 1d267ea6539f2 ("serial: mctrl-gpio: simplify init routine") Someone else sent me this before you did, sorry. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html