aboutsummaryrefslogtreecommitdiffstats
path: root/fs/proc/namespaces.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2018-05-14 09:11:29 +0000
committerMark Brown <[email protected]>2018-05-17 04:36:00 +0000
commit6282f122913e632c2415c236a2b5faa8ef368b10 (patch)
treecaf37309a29de025cc9785ab99b8d0914ad82a47 /fs/proc/namespaces.c
parentspi: spi-s3c64xx: Fix system resume support (diff)
downloadkernel-6282f122913e632c2415c236a2b5faa8ef368b10.tar.gz
kernel-6282f122913e632c2415c236a2b5faa8ef368b10.zip
spi: ti-qspi: Make sure res_mmap != NULL before dereferencing it
resource_size() is dereferencing the res without checking that it is not NULL, so we need to do the check before calling resource_size(). Fixes: b95cb394ab59 ("spi: ti-qspi: Implement the spi_mem interface") Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'fs/proc/namespaces.c')
0 files changed, 0 insertions, 0 deletions