Commit 5b2613e
Karan Kumar
scsi: fnic: Remove unnecessary NUL-terminations
JIRA: https://issues.redhat.com/browse/RHEL-64440
strscpy_pad() already NUL-terminates 'data' at the corresponding
indexes. Remove any unnecessary NUL-terminations.
No functional changes intended.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Link: https://lore.kernel.org/r/20250314221626.43174-2-thorsten.blum@linux.dev
Reviewed-by: Karan Tilak Kumar <kartilak@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
(cherry picked from commit bd06776)
Signed-off-by: Karan Kumar <karkumar@redhat.com>1 parent 13a21aa commit 5b2613e
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1884 | 1884 | | |
1885 | 1885 | | |
1886 | 1886 | | |
1887 | | - | |
1888 | 1887 | | |
1889 | 1888 | | |
1890 | 1889 | | |
| |||
2047 | 2046 | | |
2048 | 2047 | | |
2049 | 2048 | | |
2050 | | - | |
2051 | 2049 | | |
2052 | 2050 | | |
2053 | 2051 | | |
| |||
2057 | 2055 | | |
2058 | 2056 | | |
2059 | 2057 | | |
2060 | | - | |
2061 | 2058 | | |
2062 | 2059 | | |
2063 | 2060 | | |
| |||
0 commit comments