diff options
author | Divya Koppera <Divya.Koppera@microchip.com> | 2022-10-11 11:54:37 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-10-13 02:51:33 +0200 |
commit | fa182ea26ff09cbadb28bbcd6196209b3555eb1d (patch) | |
tree | 5138d3ffdf6a6990c75e1ea22d4f609fe87325e4 /net | |
parent | openvswitch: add nf_ct_is_confirmed check before assigning the helper (diff) | |
download | linux-fa182ea26ff09cbadb28bbcd6196209b3555eb1d.tar.xz linux-fa182ea26ff09cbadb28bbcd6196209b3555eb1d.zip |
net: phy: micrel: Fixes FIELD_GET assertion
FIELD_GET() must only be used with a mask that is a compile-time
constant. Mark the functions as __always_inline to avoid the problem.
Fixes: 21b688dabecb6a ("net: phy: micrel: Cable Diag feature for lan8814 phy")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Divya Koppera <Divya.Koppera@microchip.com>
Link: https://lore.kernel.org/r/20221011095437.12580-1-Divya.Koppera@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions