All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-4.4 127/147] drivers/md/bcache/bset.c:320:37-47: Move constant to right.
@ 2020-08-20 11:30 kernel test robot
  2020-08-20 11:30 ` [PATCH] bcache: fix compare_const_fl.cocci warnings kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2020-08-20 11:30 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 972 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Alexander Levin <alexander.levin@microsoft.com>

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
config: x86_64-randconfig-c002-20200818 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>


coccinelle warnings: (new ones prefixed by >>)

>> drivers/md/bcache/bset.c:320:37-47: Move constant to right.

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27224 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] bcache: fix compare_const_fl.cocci warnings
  2020-08-20 11:30 [sashal-linux-stable:queue-4.4 127/147] drivers/md/bcache/bset.c:320:37-47: Move constant to right kernel test robot
@ 2020-08-20 11:30 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2020-08-20 11:30 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 1340 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Alexander Levin <alexander.levin@microsoft.com>

From: kernel test robot <lkp@intel.com>

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 <colyli@suse.de>
Signed-off-by: kernel test robot <lkp@intel.com>
---

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 = page_order;
 
-	t->data = (void *) __get_free_pages(__GFP_COMP|gfp, b->page_order);
+	t->data = (void *) __get_free_pages(gfp|__GFP_COMP, b->page_order);
 	if (!t->data)
 		goto err;
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-20 11:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-20 11:30 [sashal-linux-stable:queue-4.4 127/147] drivers/md/bcache/bset.c:320:37-47: Move constant to right kernel test robot
2020-08-20 11:30 ` [PATCH] bcache: fix compare_const_fl.cocci warnings kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.