diff options
author | Dmitry Kasatkin <d.kasatkin@samsung.com> | 2014-06-13 17:09:54 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-09 00:27:04 +0200 |
commit | 6af6b163b3191bd2802868f17d4843c58bc4046f (patch) | |
tree | 7e5c23b2698550828906ea98ca5c1e25e4025020 /drivers/base/module.c | |
parent | firmware loader: allow disabling of udev as firmware loader (diff) | |
download | linux-6af6b163b3191bd2802868f17d4843c58bc4046f.tar.xz linux-6af6b163b3191bd2802868f17d4843c58bc4046f.zip |
firmware: read firmware size using i_size_read()
There is no need to read attr because inode structure contains size
of the file. Use i_size_read() instead.
Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Acked-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/module.c')
0 files changed, 0 insertions, 0 deletions