]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 68328serial: Use NULL for pointers
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 25 Aug 2015 19:49:46 +0000 (16:49 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:44:52 +0000 (17:44 +0100)
commit24624af67845d70be41e668a77b5589c5d276b95
tree1c14f727087442ce65789bf4eefc4254b7081e5c
parentc61d78477972683417bf7dade3cecfcca0f6a0f5
serial: 68328serial: Use NULL for pointers

Compare pointer-typed values to NULL rather than 0

The semantic patch that makes this change is available
in scripts/coccinelle/null/badzero.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/68328serial.c