diff options
author | Lv Zheng <lv.zheng@intel.com> | 2014-04-30 02:03:45 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-06 22:54:59 (GMT) |
commit | d87a2b75cd00a9e62c2b218e7d586c30961eb311 (patch) | |
tree | b8341e525068cf8cabe678b8a4a5753a705dcb19 /drivers/scsi/ipr.c | |
parent | fad6449b4a96d7d7e61ebdfd16fd3a80833526bf (diff) | |
download | linux-d87a2b75cd00a9e62c2b218e7d586c30961eb311.tar.xz |
ACPICA: acpidump: Fix code issue in invoking fread in the loop.
This patch fixes an issue that the while loop is not needed as fread()
should return exact the bytes of expected.
The patch is tested by runing diff against the output of "-c" mode and
the normal mode, and only finds the following differences:
1. table addresses: the "-c" mode will always fill 0x0000000000000000 for
the address.
2. RSDP/RSDT/XSDT: there is no generation of such tables for "-c" mode.
So the test result shows the fix is valid. Lv Zheng.
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/scsi/ipr.c')
0 files changed, 0 insertions, 0 deletions