diff options
| author | Bart Van Assche <[email protected]> | 2015-07-09 07:23:46 -0700 |
|---|---|---|
| committer | James Bottomley <[email protected]> | 2015-08-26 10:35:35 -0700 |
| commit | df3f4cd0defd5f832a806ca1f0dd6638a2df17a5 (patch) | |
| tree | 71247576da136aa11c258ffaf9724bc43d86e94b /tools/perf/scripts/python | |
| parent | 52c82823cc686d4faf9e9bc4feec4bf48c36fded (diff) | |
qla2xxx: Replace two macros with an inline function
Replace the QLA82XX_ADDR_IN_RANGE() and QLA8044_ADDR_IN_RANGE() macros
with the inline function addr_in_range(). This avoids that the compiler
reports the following warning when building with W=1: comparison of
unsigned expression >= 0 is always true.
Signed-off-by: Bart Van Assche <[email protected]>
Acked-by: Himanshu Madhani <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions