]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5a5e0f4c7038168e38d1db6af09d1ac715ee9888
tree6627b1e2ae1b4880d93c1c5f8d6db4f3aca0d38c
parent4c743d0ae60462e91465483dd87f4458d71af550
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