From: Fabio Estevam Date: Mon, 2 Sep 2013 01:24:35 +0000 (-0300) Subject: serial: imx: Use NULL as the last argument of add_preferred_console() X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~63^2~79 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e2c2725338cb5c51e8f1eada2b3dfb938bdb03ae;p=pandora-kernel.git serial: imx: Use NULL as the last argument of add_preferred_console() Commit f7d2c0bbd (serial: i.MX: evaluate linux,stdout-path property) introduced the following sparse warning: drivers/tty/serial/imx.c:1916:77: warning: Using plain integer as NULL pointer Pass NULL as the last argument of add_preferred_console() instead of zero. Signed-off-by: Fabio Estevam Acked-by: Sascha Hauer Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed