aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2022-09-28 07:07:46 +0000
committerVinod Koul <[email protected]>2022-09-29 05:42:31 +0000
commit84513eccd67804c02a0c42017bc7eaa4ad112478 (patch)
tree7667f7842cd0b64b9b6009aca1998adc4377d55e /drivers/fpga/microchip-spi.c
parentphy: qcom-qmp-usb: Use dev_err_probe() to simplify code (diff)
downloadkernel-84513eccd67804c02a0c42017bc7eaa4ad112478.tar.gz
kernel-84513eccd67804c02a0c42017bc7eaa4ad112478.zip
phy: mediatek: fix build warning of FIELD_PREP()
Change the inline function mtk_phy_update_field() into a macro to avoid check warning of FIELD_PREP() with compiler parameter -Wtautological-constant-out-of-range-compare the warning is caused by mask check: "BUILD_BUG_ON_MSG(__bf_cast_unsigned(_mask, _mask) > \" Fixes: 29c07477556e ("phy: mediatek: add a new helper to update bitfield") Reported-by: kernel test robot <[email protected]> Signed-off-by: Chunfeng Yun <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions