From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8501526757802184106==" MIME-Version: 1.0 From: kernel test robot Subject: lib/bch.c:842:7-8: WARNING opportunity for swap() Date: Sun, 23 Jan 2022 04:15:43 +0800 Message-ID: <202201230210.yuJJTFu2-lkp@intel.com> List-Id: To: kbuild@lists.01.org --===============8501526757802184106== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable CC: kbuild-all(a)lists.01.org CC: linux-kernel(a)vger.kernel.org TO: Denis Efremov CC: Julia Lawall tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git = master head: 1c52283265a462a100ae63ddf58b4e5884acde86 commit: 7845daa8bd72efa8bbc1de122edfce6e058bbe41 coccinelle: misc: add swap= script date: 9 months ago :::::: branch date: 9 hours ago :::::: commit date: 9 months ago config: x86_64-randconfig-c022-20220117 (https://download.01.org/0day-ci/ar= chive/20220123/202201230210.yuJJTFu2-lkp(a)intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot Reported-by: Julia Lawall cocci warnings: (new ones prefixed by >>) >> lib/bch.c:842:7-8: WARNING opportunity for swap() lib/bch.c:849:7-8: WARNING opportunity for swap() lib/bch.c:518:22-23: WARNING opportunity for swap() -- >> drivers/leds/leds-tca6507.c:246:14-15: WARNING opportunity for swap() -- >> drivers/phy/cadence/phy-cadence-torrent.c:2127:18-19: WARNING opportunit= y for swap() -- >> drivers/w1/slaves/w1_therm.c:1840:18-19: WARNING opportunity for swap() Please review and possibly fold the followup patch. --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============8501526757802184106==--