diff options
author | James Simmons <jsimmons@infradead.org> | 2016-08-22 18:57:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-22 22:39:15 +0200 |
commit | 88b090e3c020bfeac13d5c52984a03775808cb67 (patch) | |
tree | f5675d910a992a01d054b627c43edcb8aa274fc0 /drivers/iio/magnetometer/Makefile | |
parent | staging/lustre: Remove unused cp_error from struct cl_page (diff) | |
download | linux-88b090e3c020bfeac13d5c52984a03775808cb67.tar.xz linux-88b090e3c020bfeac13d5c52984a03775808cb67.zip |
staging: lustre: mdc: fix NULL pointer dereference in mdc_adjust_dirpages
The function mdc_adjust_dirpages is only called on platforms which
don't have pages 4K in size which is why kbuild only reported this
for platforms like the Alpha. The problem was a typo in ordering of
variables in the beginning of a while loop. We were accessing the
dp pointer before it was kmapped.
Signed-off-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/iio/magnetometer/Makefile')
0 files changed, 0 insertions, 0 deletions