diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2013-12-28 16:53:59 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-08 20:29:19 -0800 |
commit | 08da2012e0bb0f3f1422cce3f76c36a90da366b5 (patch) | |
tree | 62ebb93c62391db44bc3f29db6c34667df6fddbc /drivers/base/dma-contiguous.c | |
parent | 174be70b638ceb1038f466b5ca014f6b1d9c8a59 (diff) |
firmware_class: Fix the file size check
We expect to read firmware blobs with a single call to kernel_read(),
which returns int. Therefore the size must be within the range of
int, not long.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/dma-contiguous.c')
0 files changed, 0 insertions, 0 deletions