Skip to content
Commit 04ca5837 authored by Adrian Remonda's avatar Adrian Remonda Committed by Greg Kroah-Hartman
Browse files

Staging: most: mostcore/core.c. Fix "Using plain integer as NULL pointer" warnings



This patch fixes the warning generated by sparse: "Using plain integer
as NULL pointer" by replacing the pointer test against 0 with a logical test.

Signed-off-by: default avatarAdrian Remonda <adrianremonda@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent c942ea7a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment