diff options
| author | Vladimir Oltean <[email protected]> | 2024-10-29 16:43:17 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-11-05 02:44:43 +0000 |
| commit | 0a746cf8bb6df43566c345f334ca1b931f926449 (patch) | |
| tree | 25d6d6e8dca2371ac46dbfed12bbe7d29d270dae /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | net: dpaa_eth: add assertions about SGT entry offsets in sg_fd_to_skb() (diff) | |
| download | kernel-0a746cf8bb6df43566c345f334ca1b931f926449.tar.gz kernel-0a746cf8bb6df43566c345f334ca1b931f926449.zip | |
net: dpaa_eth: extract hash using __be32 pointer in rx_default_dqrr()
Sparse provides the following output:
warning: cast to restricted __be32
This is a harmless warning due to the fact that we dereference the hash
stored in the FD using an incorrect type annotation. Suppress the
warning by using the correct __be32 type instead of u32. No functional
change.
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Breno Leitao <[email protected]>
Acked-by: Christophe Leroy <[email protected]>
Acked-by: Madalin Bucur <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
