There are quite a few instances in the kernel of checks of pointers both
against NULL and against the errno range, handling both cases identically. This additional helper function would simplify such code. Signed-off-by: Phil Carmody <ext-phil.2.carmody@nokia.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Showing
Please register or sign in to comment