aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-17 15:09:31 +0800
committerBjorn Helgaas <[email protected]>2023-10-05 17:14:56 -0500
commit63a0b7dc15376c495dbbeadf55bf887412a7f877 (patch)
treefffd7c8278a208c2d6a6312a39667fe3a31df970 /lib/test_fortify/write_overflow-memcpy.c
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
PCI: endpoint: Use IS_ERR_OR_NULL() helper function
Use the IS_ERR_OR_NULL() helper instead of open-coding a NULL and an error pointer checks to simplify the code and improve readability. No functional changes are intended. [kwilczynski: commit log] Signed-off-by: Ruan Jinjie <[email protected]> Signed-off-by: Krzysztof WilczyƄski <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions