diff options
| author | Brian Norris <[email protected]> | 2015-11-20 22:10:54 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2015-12-16 21:46:26 +0000 |
| commit | 2e69d4912f2fc9d4cd952311d58ceae1cd83057b (patch) | |
| tree | 76d90def57448d93bf168ebe14c454463e4cbfaa /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | UBI: fix return error code (diff) | |
| download | kernel-2e69d4912f2fc9d4cd952311d58ceae1cd83057b.tar.gz kernel-2e69d4912f2fc9d4cd952311d58ceae1cd83057b.zip | |
UBI: fix use of "VID" vs. "EC" in header self-check
Looks like a typo, using UBI_EC_HDR_SIZE_CRC (note the "EC") to compute
the CRC for the VID header.
This shouldn't cause any functional change, as both structures are 64
bytes. Verified with:
BUILD_BUG_ON(UBI_VID_HDR_SIZE_CRC != UBI_EC_HDR_SIZE_CRC);
Reported here:
http://lists.infradead.org/pipermail/linux-mtd/2013-September/048570.html
Reported by: Bill Pringlemeir <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
