projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19151c3
)
greybus: firmware: firmware's file name is 32 characters long
author
Viresh Kumar
<viresh.kumar@linaro.org>
Wed, 9 Sep 2015 15:38:30 +0000
(21:08 +0530)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Tue, 15 Sep 2015 04:52:16 +0000
(21:52 -0700)
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>
drivers/staging/greybus/firmware.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/firmware.c
b/drivers/staging/greybus/firmware.c
index
e888b7a
..
fbc6048
100644
(file)
--- 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)