summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorDawei Li <dawei.li@shingroup.cn>2024-02-05 03:40:33 +0100
committerRob Herring <robh@kernel.org>2024-02-13 19:12:28 +0100
commite72638535dfa3b6435ccdaad04adbb9facc83ba5 (patch)
tree538dec3b4fc8d77b3d49588e8f15571ceb2280e1 /.clang-format
parentMAINTAINERS: of: Add Saravana Kannan (diff)
downloadlinux-e72638535dfa3b6435ccdaad04adbb9facc83ba5.tar.xz
linux-e72638535dfa3b6435ccdaad04adbb9facc83ba5.zip
of: Make explicit cpu_to_be32 conversion to mute sparse warning
Kernel test robot reports sparse warning: sparse warnings: (new ones prefixed by >>) >> drivers/of/base.c:1337:73: sparse: sparse: incorrect type in initializer (different base types) @@ expected restricted __be32 @@ got int @@ drivers/of/base.c:1337:73: sparse: expected restricted __be32 drivers/of/base.c:1337:73: sparse: got int Thus, Make explicit conversions to mute warning(Although BE and LE are exactly same in binary representation for 0/~0). Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202402042134.GEb3Bgwl-lkp@intel.com/ Signed-off-by: Dawei Li <dawei.li@shingroup.cn> Link: https://lore.kernel.org/r/20240205024033.3572617-1-dawei.li@shingroup.cn Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions