]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: rt1320: fix the range of patch code address
authorShuming Fan <shumingf@realtek.com>
Tue, 1 Oct 2024 07:18:36 +0000 (15:18 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2024 11:14:44 +0000 (12:14 +0100)
commita34b9d812d7ec95789b15ce84de5f03c6dd1137b
treee004058f801f81656336d3fbe294997ab1990ae2
parent4649cbd97fdae5069e9a71cd7669b62b90e03669
ASoC: rt1320: fix the range of patch code address

>> sound/soc/codecs/rt1320-sdw.c:564:14:
warning: result of comparison of constant 4295491583 with expression of type 'unsigned int' is always false
[-Wtautological-constant-out-of-range-compare]
     564 |                                 if (addr > 0x10007ffff || addr < 0x10007000) {
         |                                     ~~~~ ^ ~~~~~~~~~~~
   1 warning generated.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202410011159.InLKFd40-lkp@intel.com/
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20241001071836.3719162-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1320-sdw.c