Thread (3 messages) flat view 3 messages, 3 authors, 2021-06-14

Re: [PATCH net-next] net: dsa: sja1105: constify the sja1105_regs structures

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2021-06-14 17:47:13


On 6/14/2021 6:50 AM, Vladimir Oltean wrote:
From: Vladimir Oltean <vladimir.oltean@nxp.com>

The struct sja1105_regs tables are not modified during the runtime of
the driver, so they can be made constant. In fact, struct sja1105_info
already holds a const pointer to these.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help