diff options
author | Corey Minyard | 2019-12-23 10:42:19 -0600 |
---|---|---|
committer | Corey Minyard | 2019-12-23 10:42:19 -0600 |
commit | 6b8526d3abc02c08a2f888e8c20b7ac9e5776dfe (patch) | |
tree | e9275170adf2cca9e2458039333dcc69f65a46eb /drivers/dma/fsldma.h | |
parent | 380665becdeeb4f455c23582b7f32e6b3cea27d2 (diff) |
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 <lkp@intel.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/dma/fsldma.h')
0 files changed, 0 insertions, 0 deletions