aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorCorey Minyard <[email protected]>2019-12-23 16:42:19 +0000
committerCorey Minyard <[email protected]>2019-12-23 16:42:19 +0000
commit6b8526d3abc02c08a2f888e8c20b7ac9e5776dfe (patch)
treee9275170adf2cca9e2458039333dcc69f65a46eb /drivers/gpu/drm/lima/lima_sched.c
parentdrivers: ipmi: Modify max length of IPMB packet (diff)
downloadkernel-6b8526d3abc02c08a2f888e8c20b7ac9e5776dfe.tar.gz
kernel-6b8526d3abc02c08a2f888e8c20b7ac9e5776dfe.zip
ipmi:ssif: Handle a possible NULL pointer reference
In error cases a NULL can be passed to memcpy. The length will always be zero, so it doesn't really matter, but go ahead and check for NULL, anyway, to be more precise and avoid static analysis errors. Reported-by: kbuild test robot <[email protected]> Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions