diff options
| author | 2010-01-15 11:09:32 -0700 | |
|---|---|---|
| committer | 2010-02-25 11:29:25 +0000 | |
| commit | 1449c5d0e8f25af6c903797a636696901122e4e8 (patch) | |
| tree | 4f23274d75966ff824c0aec983ded23e7c378d28 /tools/perf/scripts/python | |
| parent | mtd: ixp4xx: fix reading from half-word boundary (diff) | |
mtd: quiet sparse noise in cfi.h
In the inline function cfi_build_cmd_addr, the cast of cmd_ofs to an
uint8_t produces a sparse warning of the type:
warning: cast truncates bits from constant value (2aa becomes aa)
Quiet the warning by masking cmd_ofs with 0xff and remove the cast.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
