aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorLuis Chamberlain <mcgrof@kernel.org>2022-04-15 15:08:02 -0700
committerLuis Chamberlain <mcgrof@kernel.org>2022-04-21 11:40:59 -0700
commit3c6a4cba3138d1aeeb8fd917178c6578b9b8ae29 (patch)
tree7c1e20b45da8a27e770473fd7ecbe93f49e6c669 /lib/test_fortify/write_overflow-strncpy-src.c
parent988f11e046401f8561c4afefa506a50f0203de40 (diff)
mm: fix unused variable kernel warning when SYSCTL=n
When CONFIG_SYSCTL=n the variable dirty_bytes_min which is just used as a minimum to a proc handler is not used. So just move this under the ifdef for CONFIG_SYSCTL. Fixes: aa779e510219 ("mm: move page-writeback sysctls to their own file") Reported-by: kernel test robot <lkp@intel.com> Acked-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions