diff options
| author | Ariel Elior <[email protected]> | 2013-01-09 07:04:35 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-01-10 14:14:16 -0800 |
| commit | 238268503f306cdc435eff2181e38c08ce412ed5 (patch) | |
| tree | e0a12d902d86df87f25e142a036f4269d5e5343d /tools/perf/scripts/python/sched-migration.py | |
| parent | 2efd32ee1b60b0b31404ca47c1ce70e5a5d24ebc (diff) | |
bnx2x: align define usage to satisfy static checkers
Static checkers complained that the E1H_FUNC_MAX define is used
incorrectly in bnx2x_pretend_func(). The complaint was justified,
although its not a real bug, as the first part of the conditional
protects us in this case (a real bug would happen if a VF tried to
use the pretend func, but there are no VFs in E1H chips).
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Ariel Elior <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions