mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-15 20:12:00 -04:00
greybus: firmware: firmware's file name is 32 characters long
28 is the wrong value and should be 32 instead. Reviewed-by: Johan Hovold <johan@hovoldconsulting.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
19151c3dd4
commit
8bcc2d80dd
@@ -27,7 +27,7 @@ static int download_firmware(struct gb_firmware *firmware, u8 stage)
|
||||
{
|
||||
struct gb_connection *connection = firmware->connection;
|
||||
struct gb_interface *intf = connection->bundle->intf;
|
||||
char firmware_name[28];
|
||||
char firmware_name[32];
|
||||
|
||||
/* Already have a firmware, free it */
|
||||
if (firmware->fw)
|
||||
|
||||
Reference in New Issue
Block a user