OpenCloudOS-Kernel/drivers/phy/mediatek
Chunfeng Yun 49094d9286 phy: mediatek: remove temporary variable @mask_
Remove the temporary @mask_, this may cause build warning when use clang
compiler for powerpc, but can't reproduce it when compile for arm64.
the build warning is caused by:

"warning: result of comparison of constant 18446744073709551615 with
expression of type (aka 'unsigned long') is always false
[-Wtautological-constant-out-of-range-compare]"

More information provided in below lore link.

After removing @mask_, there is a "CHECK:MACRO_ARG_REUSE" when run
checkpatch.pl, but due to @mask is constant, no reuse problem will happen.

Link: https://lore.kernel.org/lkml/202212160357.jJuesD8n-lkp@intel.com/t/
Fixes: 84513eccd6 ("phy: mediatek: fix build warning of FIELD_PREP()")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230118084343.26913-1-chunfeng.yun@mediatek.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2023-02-02 18:35:13 +05:30
..
Kconfig phy: phy-mtk-dp: Add driver for DP phy 2022-07-05 12:28:09 +05:30
Makefile phy: phy-mtk-dp: Add driver for DP phy 2022-07-05 12:28:09 +05:30
phy-mtk-dp.c phy: phy-mtk-dp: make array driving_params static const 2022-09-29 21:01:27 +05:30
phy-mtk-hdmi-mt2701.c phy: mediatek: hdmi: mt2701: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi-mt8173.c phy: mediatek: hdmi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi.c phy: mediatek: hdmi: remove register access helpers 2022-09-24 11:57:50 +05:30
phy-mtk-hdmi.h phy: mediatek: hdmi: remove register access helpers 2022-09-24 11:57:50 +05:30
phy-mtk-io.h phy: mediatek: remove temporary variable @mask_ 2023-02-02 18:35:13 +05:30
phy-mtk-mipi-dsi-mt8173.c phy: mediatek: mipi: mt8173: use common helper to access registers 2022-09-24 11:57:50 +05:30
phy-mtk-mipi-dsi-mt8183.c phy: mediatek: mipi: mt8183: use common helper to access registers 2022-09-24 11:57:51 +05:30
phy-mtk-mipi-dsi.c phy: mediatek: mipi: remove register access helpers 2022-09-24 11:57:51 +05:30
phy-mtk-mipi-dsi.h phy: mediatek: mipi: remove register access helpers 2022-09-24 11:57:51 +05:30
phy-mtk-pcie.c phy: mediatek: pcie: use new helper to update register bits 2022-09-24 11:57:49 +05:30
phy-mtk-tphy.c phy: mediatek: tphy: remove macros to prepare bitfield value 2022-09-24 11:57:49 +05:30
phy-mtk-ufs.c phy: mediatek: ufs: use common register access helpers 2022-09-24 11:57:49 +05:30
phy-mtk-xsphy.c phy: mediatek: xsphy: remove macros used to prepare bitfield value 2022-09-24 11:57:49 +05:30