[PATCH net-next v2 4/7] net: stmmac: use u8 for ?x_queues_to_use and number_?x_queues

Mohd Ayaan Anwar mohd.anwar at oss.qualcomm.com
Mon Mar 9 04:19:23 PDT 2026


On Mon, Mar 09, 2026 at 09:39:34AM +0000, Russell King (Oracle) wrote:
> The maximum number of queues is a compile time constant of only eight.
> This makes using a 32-bit quantity wastefulf. Instead, use u8 for
> these and their associated variables.
> 
> When reading the DT properties, saturdate at U8_MAX. Provided the core
Nit: saturate?

	Ayaan



More information about the Linux-mediatek mailing list