summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/cavium/Kconfig
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2015-06-17 01:36:17 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-21 19:49:55 +0300
commit92a486ca3a45777bdec0b9fd225a8eeec82bddb7 (patch)
treefaa0170f61e6fee89a14e994c694b7cceeabd70c /drivers/net/ethernet/cavium/Kconfig
parenta55e1c5c2640549ff3beb843f7ecaa242d69c351 (diff)
downloadlinux-92a486ca3a45777bdec0b9fd225a8eeec82bddb7.tar.xz
cxgb3: avoid needless buffer copy for firmware
There's no reason to perform a buffer copy for the firmware name. This also avoids a (currently impossible with current callers) NULL dereference if there was no matching firmware. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cavium/Kconfig')
0 files changed, 0 insertions, 0 deletions