diff options
| author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-04-12 15:47:37 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2023-04-13 21:56:06 -0700 |
| commit | a291399e635415295860765954e247e83445e291 (patch) | |
| tree | 0a596c9910caf11b53800be3d909326d28b23139 /net/lapb/lapb_timer.c | |
| parent | 6663c01eca1a250374a898f19b60ec01859a3d0b (diff) | |
net: mscc: ocelot: fix ineffective WARN_ON() in ocelot_stats.c
Since it is hopefully now clear that, since "last" and "layout[i].reg"
are enum types and not addresses, the existing WARN_ON() is ineffective
in checking that the _addresses_ are sorted in the proper order.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
