aboutsummaryrefslogtreecommitdiffstats
path: root/fs/kernfs/kernfs-internal.h
diff options
context:
space:
mode:
authorBen Hutchings <[email protected]>2013-12-28 15:53:59 +0000
committerGreg Kroah-Hartman <[email protected]>2014-01-09 04:29:19 +0000
commit08da2012e0bb0f3f1422cce3f76c36a90da366b5 (patch)
tree62ebb93c62391db44bc3f29db6c34667df6fddbc /fs/kernfs/kernfs-internal.h
parentdriver-core: Fix use-after-free triggered by bus_unregister() (diff)
downloadkernel-08da2012e0bb0f3f1422cce3f76c36a90da366b5.tar.gz
kernel-08da2012e0bb0f3f1422cce3f76c36a90da366b5.zip
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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'fs/kernfs/kernfs-internal.h')
0 files changed, 0 insertions, 0 deletions