summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/misc
diff options
context:
space:
mode:
authorDawei Li <dawei.li@shingroup.cn>2024-02-05 05:40:33 +0300
committerRob Herring <robh@kernel.org>2024-02-13 21:12:28 +0300
commite72638535dfa3b6435ccdaad04adbb9facc83ba5 (patch)
tree538dec3b4fc8d77b3d49588e8f15571ceb2280e1 /Documentation/devicetree/bindings/misc
parent9f1a0769f1939456f3b4ce388f021963d20afbf8 (diff)
downloadlinux-e72638535dfa3b6435ccdaad04adbb9facc83ba5.tar.xz
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 'Documentation/devicetree/bindings/misc')
0 files changed, 0 insertions, 0 deletions