aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strlcpy-src.c
diff options
context:
space:
mode:
authorKeoseong Park <[email protected]>2023-05-03 19:46:30 +0900
committerMartin K. Petersen <[email protected]>2023-05-22 17:26:09 -0400
commita1f871f9f30124669d7afbdb8754f0826f49b564 (patch)
tree9d7cfd372bbfee63bee244bd0d38591e54fb7593 /lib/test_fortify/write_overflow-strlcpy-src.c
parent8b60e2189fcd8b10b592608256eb97aebfcff147 (diff)
scsi: ufs: core: Return earlier if ufshcd_hba_init_crypto_capabilities() fails
The 'err' variable is used only as the result of ufshcd_hba_init_crypto_capabilities(), so return 'err' immediately when failed. If it is not an error, explicitly return 0. Signed-off-by: Keoseong Park <[email protected]> Link: https://lore.kernel.org/r/20230503104630epcms2p8b82734102ffb920531e9264604086372@epcms2p8 Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions