kernel: container_of() returns a non-NULL pointer
commitdfe40efb24dd1a75e8d3068cae82db0a4df96d0a
authorDan Carpenter <error27@gmail.com>
Tue, 24 Aug 2010 12:47:01 +0000 (24 14:47 +0200)
committerDan Carpenter <error27@gmail.com>
Tue, 24 Aug 2010 12:47:01 +0000 (24 14:47 +0200)
tree87cefb6a9ac2d540ef495ceccb767b48f5b17212
parent79d0ded765f2c790934b1519f1e799011e70b4e7
kernel: container_of() returns a non-NULL pointer

The container_of() macro does some funny math with the alignment and
returns a pointer to the container.  It can technically return a NULL but
that would be pretty unusual.  It's better to assume that it doesn't and
silence a couple false positives.

Signed-off-by: Dan Carpenter <error27@gmail.com>
check_kernel.c