aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2024-02-02 17:41:45 +0000
committerPaolo Abeni <[email protected]>2024-02-06 12:44:40 +0100
commit0bd199fd9c19aa545f677fd0a99f2be101cb6309 (patch)
treec341bba82a52372ce69b5dd8ed966e3f304d9c98 /lib/string_helpers.c
parent03ba6dc035c60991033529e630bd1552b2bca4d7 (diff)
net: phy: constify phydev->drv
Device driver structures are shared between all devices that they match, and thus nothing should never write to the device driver structure through the phydev->drv pointer. Let's make this pointer const to catch code that attempts to do so. Suggested-by: Christian Marangi <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions