Simon Glass
a696d768c1
dm: cbfs: Fix handling of invalid type
...
The comment for file_cbfs_type() says that it returns 0 for an invalid type.
The code appears to check for -1, except that it uses an unsigned variable
to store the type. This results in a warning on 64-bit machines.
Adjust it to make the meaning clearer. Continue to handle the -1 case since
it may be needed.
Signed-off-by: Simon Glass <sjg@chromium.org >
Tested-by: Stephen Warren <swarren@nvidia.com >
2016-03-14 15:34:50 -06:00
..
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-27 15:55:49 +01:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-02-24 18:44:12 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-24 19:12:32 +01:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:59 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-28 18:42:10 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-27 15:55:54 +01:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-15 20:58:25 +00:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-02-22 16:21:12 +01:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-09 15:41:19 -07:00
2016-02-06 12:00:59 +01:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-08 10:22:44 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-24 18:44:14 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-28 21:01:23 -07:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-02-06 12:00:59 +01:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-02-26 08:53:10 -07:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-03-14 15:34:50 -06:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-01-25 10:39:43 -05:00
2016-03-14 15:34:50 -06:00
2016-01-25 10:39:43 -05:00