diff options
author | Dawei Li <[email protected]> | 2024-02-05 10:40:33 +0800 |
---|---|---|
committer | Rob Herring <[email protected]> | 2024-02-13 12:12:28 -0600 |
commit | e72638535dfa3b6435ccdaad04adbb9facc83ba5 (patch) | |
tree | 538dec3b4fc8d77b3d49588e8f15571ceb2280e1 /net/lapb/lapb_out.c | |
parent | 9f1a0769f1939456f3b4ce388f021963d20afbf8 (diff) |
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 <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Dawei Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions