]> git.baikalelectronics.ru Git - kernel.git/commit
kfifo: Don't use integer as NULL pointer
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Wed, 27 Jan 2010 14:09:38 +0000 (17:09 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 16 Feb 2010 23:11:08 +0000 (15:11 -0800)
commitab7eaaae82a03dbcf83a10df82e37c7e4f5c3143
tree6627b1e2ae1b4880d93c1c5f8d6db4f3aca0d38c
parent152a784353eac4c3360e0d1aa54844acc89dbcd2
kfifo: Don't use integer as NULL pointer

This patch fixes following sparse warnings:

include/linux/kfifo.h:127:25: warning: Using plain integer as NULL pointer
kernel/kfifo.c:83:21: warning: Using plain integer as NULL pointer

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Stefani Seibold <stefani@seibold.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/kfifo.h
kernel/kfifo.c