From: Viresh Kumar Date: Wed, 9 Sep 2015 15:38:30 +0000 (+0530) Subject: greybus: firmware: firmware's file name is 32 characters long X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8bcc2d80dd6aaed009bd0212cf844ef39131547a;p=openwrt%2Fstaging%2Fblogic.git greybus: firmware: firmware's file name is 32 characters long 28 is the wrong value and should be 32 instead. Reviewed-by: Johan Hovold Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/firmware.c b/drivers/staging/greybus/firmware.c index e888b7ae4c59..fbc6048644a0 100644 --- a/drivers/staging/greybus/firmware.c +++ b/drivers/staging/greybus/firmware.c @@ -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)