summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/cpuidle_cooling.c
diff options
context:
space:
mode:
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>2024-03-04 12:08:53 +0100
committerDavid S. Miller <davem@davemloft.net>2024-03-06 12:23:21 +0100
commit4123c3fbf8632e5c553222bf1c10b3a3e0a8dc06 (patch)
tree1b91e402f11ff5ee10258bfdd0f31cd39eed1e95 /drivers/thermal/cpuidle_cooling.c
parentMerge branch '200GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/... (diff)
downloadlinux-4123c3fbf8632e5c553222bf1c10b3a3e0a8dc06.tar.xz
linux-4123c3fbf8632e5c553222bf1c10b3a3e0a8dc06.zip
ravb: Group descriptor types used in Rx ring
The Rx ring can either be made up of normal or extended descriptors, not a mix of the two at the same time. Make this explicit by grouping the two variables in a rx_ring union. The extension of the storage for more than one queue of normal descriptors from a single to NUM_RX_QUEUE queues have no practical effect. But aids in making the code readable as the code that uses it already piggyback on other members of struct ravb_private that are arrays of max length NUM_RX_QUEUE, e.g. rx_desc_dma. This will also make further refactoring easier. While at it, rename the normal descriptor Rx ring to make it clear it's not strictly related to the GbEthernet E-MAC IP found in RZ/G2L, normal descriptors could be used on R-Car SoCs too. Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Reviewed-by: Paul Barker <paul.barker.ct@bp.renesas.com> Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions