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:
Viresh Kumar 2015-09-09 21:08:30 +05:30 committed by Greg Kroah-Hartman
parent 19151c3dd4
commit 8bcc2d80dd

View File

@ -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)