summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorColin Foster <colin.foster@in-advantage.com>2022-11-20 02:14:06 +0300
committerPaolo Abeni <pabeni@redhat.com>2022-11-22 17:36:44 +0300
commit877e7b7c3b12d78f0488b767ed10ec21166ee422 (patch)
treea221771b553227cd3214a53bdb571ef4af6e9abb /scripts/generate_rust_analyzer.py
parenta3bb8f521fd8703cdb429d3e52f3e6802706c87d (diff)
downloadlinux-877e7b7c3b12d78f0488b767ed10ec21166ee422.tar.xz
net: mscc: ocelot: issue a warning if stats are incorrectly ordered
Ocelot uses regmap_bulk_read() operations to efficiently read stats registers. Currently the implementation relies on the stats layout to be ordered to be most efficient. Issue a warning if any future implementations happen to break this pattern. Signed-off-by: Colin Foster <colin.foster@in-advantage.com> Co-developed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions