From: Kees Cook Date: Tue, 16 Jun 2015 22:36:17 +0000 (-0700) Subject: cxgb3: avoid needless buffer copy for firmware X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92a486ca3a45777bdec0b9fd225a8eeec82bddb7;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed