aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKory Maincent <[email protected]>2025-02-17 13:48:11 +0000
committerJakub Kicinski <[email protected]>2025-02-19 02:30:27 +0000
commitf6093c5ec74d5cc495f89bd359253d9c738d04d9 (patch)
treea320457816b9aec91faeefdfb7310265dd8e2ed6 /net/unix/af_unix.c
parentMAINTAINERS: trim the GVE entry (diff)
downloadkernel-f6093c5ec74d5cc495f89bd359253d9c738d04d9.tar.gz
kernel-f6093c5ec74d5cc495f89bd359253d9c738d04d9.zip
net: pse-pd: pd692x0: Fix power limit retrieval
Fix incorrect data offset read in the pd692x0_pi_get_pw_limit callback. The issue was previously unnoticed as it was only used by the regulator API and not thoroughly tested, since the PSE is mainly controlled via ethtool. The function became actively used by ethtool after commit 3e9dbfec4998 ("net: pse-pd: Split ethtool_get_status into multiple callbacks"), which led to the discovery of this issue. Fix it by using the correct data offset. Fixes: a87e699c9d33 ("net: pse-pd: pd692x0: Enhance with new current limit and voltage read callbacks") Signed-off-by: Kory Maincent <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions