aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorCaleb Sander <[email protected]>2024-01-31 09:43:13 -0700
committerKeith Busch <[email protected]>2024-01-31 16:06:12 -0800
commitf9e9115d0c014dec3278d68823eaff159f98f4d6 (patch)
treebe890680896eff32eee77c861d66785524a96a73 /lib/test_fortify/write_overflow-strncpy-src.c
parent6f9a71c61183d6849d5aeab085b210c10398af9a (diff)
nvme: take const cmd pointer in read-only helpers
nvme_is_fabrics() and nvme_is_write() only read struct nvme_command, so take it by const pointer. This allows callers to pass a const pointer and communicates that these functions don't modify the command. Signed-off-by: Caleb Sander <[email protected]> Reviewed-by: Chaitanya Kulkarni <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions