From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============0457131862885247293==" MIME-Version: 1.0 From: kernel test robot Subject: lib/bch.c:842:7-8: WARNING opportunity for swap() Date: Tue, 07 Dec 2021 18:20:46 +0800 Message-ID: <202112071829.FTIQqW5D-lkp@intel.com> List-Id: To: kbuild@lists.01.org --===============0457131862885247293== 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: cd8c917a56f20f48748dd43d9ae3caff51d5b987 commit: 7845daa8bd72efa8bbc1de122edfce6e058bbe41 coccinelle: misc: add swap= script date: 7 months ago :::::: branch date: 10 hours ago :::::: commit date: 7 months ago config: x86_64-randconfig-c002-20211207 (https://download.01.org/0day-ci/ar= chive/20211207/202112071829.FTIQqW5D-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() 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 --===============0457131862885247293==--