summaryrefslogtreecommitdiffstats
path: root/init/main.c
diff options
context:
space:
mode:
authorEdwin Peer <edwin.peer@broadcom.com>2021-10-29 03:47:47 -0400
committerDavid S. Miller <davem@davemloft.net>2021-10-29 12:13:05 +0100
commit9a575c8c25ae2372112db6d6b3e553cd90e9f02b (patch)
tree416d3b33ff80c6c6c4b0ec31455090ca3f876c92 /init/main.c
parent8cc95ceb7087d6910050286301d05f4824a0bf59 (diff)
downloadlinux-9a575c8c25ae2372112db6d6b3e553cd90e9f02b.tar.gz
linux-9a575c8c25ae2372112db6d6b3e553cd90e9f02b.tar.bz2
linux-9a575c8c25ae2372112db6d6b3e553cd90e9f02b.zip
bnxt_en: Refactor coredump functions
The coredump functionality will be used by devlink health. Refactor these functions that get coredump and coredump length. There is no functional change, but the following checkpatch warnings were addressed: - strscpy is preferred over strlcpy. - sscanf results should be checked, with an additional warning. Signed-off-by: Edwin Peer <edwin.peer@broadcom.com> Signed-off-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init/main.c')
0 files changed, 0 insertions, 0 deletions