9
0
Fork 0
Commit Graph

2 Commits

Author SHA1 Message Date
Holger Hans Peter Freyther e918d9035f compiler: Make ubi/ubifs compile with its unused variables
Not sure why these were missing but they are very much needed to
compile the ubi code.

Fixes:
| drivers/mtd/ubi/attach.c:808:2: warning: parameter names (without types) in function declaration
|   long long uninitialized_var(ec);
|   ^~~~
| drivers/mtd/ubi/attach.c:847:3: error: 'ec' undeclared (first use in this function)
|    ec = UBI_UNKNOWN;
|    ^~
2017-03-30 00:00:35 +02:00
Holger Hans Peter Freyther fbc48ec855 Copy and paste header for gcc6 as well..
Same reasoning as with the gcc5 approach in this older commit
34a48171a6
2017-03-29 23:50:44 +02:00