From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7668324722776615764==" MIME-Version: 1.0 From: kernel test robot Subject: [PATCH] bcache: fix compare_const_fl.cocci warnings Date: Thu, 20 Aug 2020 19:30:57 +0800 Message-ID: <20200820113057.GA74686@243aaefe46bf> In-Reply-To: <202008201911.J7E2t6IV%lkp@intel.com> List-Id: To: kbuild@lists.01.org --===============7668324722776615764== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable CC: kbuild-all(a)lists.01.org TO: Alexander Levin From: kernel test robot drivers/md/bcache/bset.c:320:37-47: Move constant to right. Move constants to the right of binary operators. Semantic patch information: Depends on personal taste in some cases. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci Fixes: 014673447216 ("bcache: allocate meta data pages as compound pages") CC: Coly Li Signed-off-by: kernel test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable= .git queue-4.4 head: 5ac205afecfb8864b6c6bd6e2e687fc444d90654 commit: 014673447216cbbce5c1af1e90b0d7b177f4caab [127/147] bcache: allocate= meta data pages as compound pages :::::: branch date: 10 hours ago :::::: commit date: 10 hours ago Please take the patch only if it's a positive warning. Thanks! bset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/md/bcache/bset.c +++ b/drivers/md/bcache/bset.c @@ -317,7 +317,7 @@ int bch_btree_keys_alloc(struct btree_ke = b->page_order =3D page_order; = - t->data =3D (void *) __get_free_pages(__GFP_COMP|gfp, b->page_order); + t->data =3D (void *) __get_free_pages(gfp|__GFP_COMP, b->page_order); if (!t->data) goto err; =20 --===============7668324722776615764==--