diff options
author | Andy Shevchenko <[email protected]> | 2021-05-10 19:39:29 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-05-10 14:58:20 -0700 |
commit | 6fcfb267cb4936d8427ceb431bb7e170a13c4922 (patch) | |
tree | 158e6ba46da962474bac112c9fd173239bcb36f5 /lib/test_overflow.c | |
parent | aca6a8746c36c160517f3216da81196248844d58 (diff) |
net: pch_gbe: use readx_poll_timeout_atomic() variant
Use readx_poll_timeout_atomic() instead of open coded variants.
While at it, add __iomem attribute to the parameter of pch_gbe_wait_clr_bit().
This in particular will fix a lot of warnings detected by Sparse, e.g.
.../pch_gbe_main.c:308:26: warning: incorrect type in argument 1 (different address spaces)
.../pch_gbe_main.c:308:26: expected void const [noderef] __iomem *
.../pch_gbe_main.c:308:26: got void *reg
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Tested-by: Flavio Suligoi <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions