diff options
| author | Manoj Kumar <[email protected]> | 2015-10-21 15:11:00 -0500 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-10-30 16:57:55 +0900 |
| commit | 3ebf203093b4ee07d62ef1a02dbbf7a293770388 (patch) | |
| tree | 0740b929e699e3098a677755b80a199a08b1e858 /drivers/gpu/drm/amd/amdgpu/ObjectID.h | |
| parent | fa4aa632da19fba0154b66a50329acd738304291 (diff) | |
cxlflash: Replace magic numbers with literals
Magic numbers are not meaningful and can create confusion. As a
remedy, replace them with descriptive literals.
Replace 512 with literal MAX_SECTOR_UNIT.
Replace 5 with literal CMD_RETRIES.
Signed-off-by: Matthew R. Ochs <[email protected]>
Signed-off-by: Manoj N. Kumar <[email protected]>
Reviewed-by: Brian King <[email protected]>
Reviewed-by: Andrew Donnellan <[email protected]>
Reviewed-by: Tomas Henzl <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/ObjectID.h')
0 files changed, 0 insertions, 0 deletions