summaryrefslogtreecommitdiff
path: root/cmd/disk.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-02-29 22:25:49 (GMT)
committerSimon Glass <sjg@chromium.org>2016-03-14 21:34:50 (GMT)
commita696d768c1274d667be86abe72869461b9fe0073 (patch)
treee69d3ab2def2dbae84f0cbd7fa0a63c9d4cd4108 /cmd/disk.c
parent3e8bd469504f5d5a8800a2ea46d664dde701105b (diff)
downloadu-boot-fsl-qoriq-a696d768c1274d667be86abe72869461b9fe0073.tar.xz
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>
Diffstat (limited to 'cmd/disk.c')
0 files changed, 0 insertions, 0 deletions