Skip to content
Commit 1d4ec7b1 authored by Roland Dreier's avatar Roland Dreier Committed by Linus Torvalds
Browse files

Fix ZERO_OR_NULL_PTR(ZERO_SIZE_PTR)



The comparison with ZERO_SIZE_PTR in ZERO_OR_NULL_PTR() needs to be <=
(not just <) so that ZERO_OR_NULL_PTR(ZERO_SIZE_PTR) is 1.

Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
[ Duh!  - Linus ]
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent efa7e867
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment