diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2024-10-29 18:43:17 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-11-04 18:44:43 -0800 |
commit | 0a746cf8bb6df43566c345f334ca1b931f926449 (patch) | |
tree | 25d6d6e8dca2371ac46dbfed12bbe7d29d270dae /scripts/lib/kdoc/kdoc_parser.py | |
parent | 81f8ee2823f321c297d9d41f7e6b8fc81750b4ee (diff) |
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 <vladimir.oltean@nxp.com>
Reviewed-by: Breno Leitao <leitao@debian.org>
Acked-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Link: https://patch.msgid.link/20241029164317.50182-4-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions