aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorTrond Myklebust <[email protected]>2023-01-19 16:33:51 -0500
committerAnna Schumaker <[email protected]>2023-02-14 14:22:33 -0500
commit2de3d04b3bcba3ae0474373cbd0c85f4f09ed9d2 (patch)
treee08eb1d970ab81589c0f3fcbc2dc863e12873edf /lib/test_fortify/write_overflow-strncpy-src.c
parent256093fec1f0ae2f10eb3aae5903ecb689c55ecc (diff)
NFS: Remove unnecessary check in nfs_read_folio()
All the callers are expected to supply a valid struct file argument, so there is no need for the NULL check. Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Trond Myklebust <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions