All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patchwork <patchwork@emeril.freedesktop.org>
To: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: ✗ Fi.CI.CHECKPATCH: warning for series starting with [01/12] kernel.h: Add for_each_if()
Date: Mon, 09 Jul 2018 08:50:36 -0000	[thread overview]
Message-ID: <20180709085036.3996.28580@emeril.freedesktop.org> (raw)
In-Reply-To: <20180709083650.23549-1-daniel.vetter@ffwll.ch>

== Series Details ==

Series: series starting with [01/12] kernel.h: Add for_each_if()
URL   : https://patchwork.freedesktop.org/series/46158/
State : warning

== Summary ==

$ dim checkpatch origin/drm-tip
c4210eba974e kernel.h: Add for_each_if()
-:6: WARNING:TYPO_SPELLING: 'ambigious' may be misspelled - perhaps 'ambiguous'?
#6: 
To avoid compilers complainig about ambigious else blocks when putting

-:54: ERROR:MULTISTATEMENT_MACRO_USE_DO_WHILE: Macros starting with if should be enclosed by a do - while loop to avoid possible if/else logic defects
#54: FILE: include/linux/kernel.h:75:
+#define for_each_if(condition) if (!(condition)) {} else

total: 1 errors, 1 warnings, 0 checks, 16 lines checked
2c84afb2e4ab blk: use for_each_if
-:28: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#28: FILE: include/linux/blk-cgroup.h:385:
+		for_each_if (((d_blkg) = __blkg_lookup(css_to_blkcg(pos_css), \

-:37: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#37: FILE: include/linux/blk-cgroup.h:400:
+		for_each_if (((d_blkg) = __blkg_lookup(css_to_blkcg(pos_css), \

total: 0 errors, 2 warnings, 0 checks, 16 lines checked
b11893dc7547 cgroup: use for_each_if
-:26: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#26: FILE: include/linux/cgroup.h:290:
+		for_each_if ((leader) == (leader)->group_leader)

total: 0 errors, 1 warnings, 0 checks, 10 lines checked
5f741b77ec38 cpufreq: use for_each_if
-:24: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#24: FILE: include/linux/cpufreq.h:652:
+		for_each_if (pos->frequency != CPUFREQ_ENTRY_INVALID)

-:35: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#35: FILE: include/linux/cpufreq.h:664:
+		for_each_if (pos->frequency == CPUFREQ_ENTRY_INVALID)

total: 0 errors, 2 warnings, 0 checks, 20 lines checked
897d7cd7d949 dmar: Use for_each_If
-:20: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#20: FILE: include/linux/dmar.h:88:
+		for_each_if (!drhd->ignored)

-:25: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#25: FILE: include/linux/dmar.h:92:
+		for_each_if ((i=drhd->iommu, !drhd->ignored))

-:25: ERROR:SPACING: spaces required around that '=' (ctx:VxV)
#25: FILE: include/linux/dmar.h:92:
+		for_each_if ((i=drhd->iommu, !drhd->ignored))
 		               ^

-:30: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#30: FILE: include/linux/dmar.h:96:
+		for_each_if ((i=drhd->iommu, true))

-:30: ERROR:SPACING: spaces required around that '=' (ctx:VxV)
#30: FILE: include/linux/dmar.h:96:
+		for_each_if ((i=drhd->iommu, true))
 		               ^

-:40: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#40: FILE: include/linux/dmar.h:112:
+		for_each_if (d)

total: 2 errors, 4 warnings, 0 checks, 27 lines checked
a4033b0182e7 mm: use for_each_if
-:33: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#33: FILE: include/linux/mmzone.h:943:
+		for_each_if (populated_zone(zone))

total: 0 errors, 1 warnings, 0 checks, 10 lines checked
064dc6caec67 ide: use for_each_if
-:6: WARNING:TYPO_SPELLING: 'ambigious' may be misspelled - perhaps 'ambiguous'?
#6: 
Avoids complaints from gcc about ambigious else clauses. Not that any

-:22: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#22: FILE: include/linux/ide.h:1604:
+		for_each_if ((dev)->dev_flags & IDE_DFLAG_PRESENT)

total: 0 errors, 2 warnings, 0 checks, 8 lines checked
3c045b076644 netdev: use for_each_if
-:21: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#21: FILE: include/linux/netdevice.h:2479:
+			for_each_if (netdev_master_upper_dev_get_rcu(slave) == (bond))

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
5fe76dc59d48 nubus: use for_each_if
-:21: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#21: FILE: include/linux/nubus.h:130:
+	for_each_func_rsrc(f) for_each_if (f->board == b)

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
25bfbbe13776 pci: use for_each_if
-:21: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#21: FILE: include/linux/pci.h:604:
+		for_each_if (pci_is_bridge(dev))

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
a139628ea314 sched: use for_each_if in topology.h
-:21: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#21: FILE: include/linux/topology.h:43:
+		for_each_if (nr_cpus_node(node))

total: 0 errors, 1 warnings, 0 checks, 8 lines checked
6d05c728cf9f usb: use for_each_if
-:21: WARNING:SPACING: space prohibited between function name and open parenthesis '('
#21: FILE: include/linux/usb.h:735:
+		for_each_if (child)

total: 0 errors, 1 warnings, 0 checks, 8 lines checked

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  parent reply	other threads:[~2018-07-09  8:50 UTC|newest]

Thread overview: 104+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-09  8:36 [PATCH 01/12] kernel.h: Add for_each_if() Daniel Vetter
2018-07-09  8:36 ` Daniel Vetter
2018-07-09  8:36 ` [PATCH 02/12] blk: use for_each_if Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-11 16:40   ` Tejun Heo
2018-07-11 16:45     ` Tejun Heo
2018-07-11 18:30       ` Jens Axboe
2018-07-11 18:30         ` Jens Axboe
2018-07-11 18:50         ` Daniel Vetter
2018-07-11 19:31           ` Jens Axboe
2018-07-11 19:31             ` Jens Axboe
2018-07-11 20:06             ` Tejun Heo
2018-07-11 21:08               ` Daniel Vetter
2018-07-11 21:08                 ` Daniel Vetter
2018-07-11 21:13                 ` Jens Axboe
2018-07-11 21:13                   ` Jens Axboe
2018-07-12  6:41                   ` Daniel Vetter
2018-07-12  6:41                     ` Daniel Vetter
2018-07-12  6:45           ` Joe Perches
2018-07-12 13:54             ` Jens Axboe
2018-07-12 15:32               ` Joe Perches
2018-07-12 15:32                 ` Joe Perches
2018-07-13  9:28             ` Vlastimil Babka
2018-07-13  9:28               ` Vlastimil Babka
2018-07-09  8:36 ` [PATCH 03/12] cgroup: " Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-11 16:46   ` Tejun Heo
2018-07-11 16:46     ` Tejun Heo
2018-07-09  8:36 ` [PATCH 04/12] cpufreq: " Daniel Vetter
2018-07-09  9:28   ` Eric Engestrom
2018-07-09  9:28     ` Eric Engestrom
2018-07-09 16:11   ` [PATCH] " Daniel Vetter
2018-07-09 16:11     ` Daniel Vetter
2018-07-09 21:36     ` Rafael J. Wysocki
2018-07-09 21:36       ` Rafael J. Wysocki
2018-07-09  8:36 ` [PATCH 05/12] dmar: Use for_each_If Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-20 12:50   ` Joerg Roedel
2018-07-20 12:50     ` Joerg Roedel
2018-07-09  8:36 ` [PATCH 06/12] mm: use for_each_if Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-09 18:00   ` Pavel Tatashin
2018-07-09  8:36 ` [PATCH 07/12] ide: " Daniel Vetter
2018-07-09  8:36 ` [PATCH 08/12] netdev: " Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-09  8:36 ` [PATCH 09/12] nubus: " Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-09 10:17   ` Finn Thain
2018-07-17 15:26   ` Geert Uytterhoeven
2018-07-09  8:36 ` [PATCH 10/12] pci: " Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-09 22:48   ` Bjorn Helgaas
2018-07-09 22:48     ` Bjorn Helgaas
2018-07-09  8:36 ` [PATCH 11/12] sched: use for_each_if in topology.h Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-09 10:36   ` Peter Zijlstra
2018-07-09 10:36     ` Peter Zijlstra
2018-07-09 15:00     ` Daniel Vetter
2018-07-09 15:00       ` Daniel Vetter
2018-07-09 15:12       ` Peter Zijlstra
2018-07-09 15:12         ` Peter Zijlstra
2018-07-09 15:52         ` Daniel Vetter
2018-07-09 15:52           ` Daniel Vetter
2018-07-09 16:03           ` Peter Zijlstra
2018-07-09 16:06             ` Daniel Vetter
2018-07-09 16:06               ` Daniel Vetter
2018-07-09 16:12             ` Mark Rutland
2018-07-09 17:55               ` [Intel-gfx] " Daniel Vetter
2018-07-09 17:55                 ` Daniel Vetter
2018-07-11 16:51                 ` [Intel-gfx] " Mark Rutland
2018-07-09 16:30           ` Peter Zijlstra
2018-07-09 16:30             ` Peter Zijlstra
2018-07-09  8:36 ` [PATCH 12/12] usb: use for_each_if Daniel Vetter
2018-07-09  8:36   ` Daniel Vetter
2018-07-09  8:36   ` [12/12] " Daniel Vetter
2018-07-09  8:50 ` Patchwork [this message]
2018-07-09  9:06 ` ✗ Fi.CI.BAT: failure for series starting with [01/12] kernel.h: Add for_each_if() Patchwork
2018-07-09 11:50 ` [PATCH 01/12] " Andy Shevchenko
2018-07-09 11:50   ` Andy Shevchenko
2018-07-09 16:25 ` [PATCH] " Daniel Vetter
2018-07-09 16:25   ` Daniel Vetter
2018-07-09 18:30   ` Andy Shevchenko
2018-07-09 18:30     ` Andy Shevchenko
2018-07-09 23:30   ` Andrew Morton
2018-07-10  7:53     ` Daniel Vetter
2018-07-10  7:53       ` Daniel Vetter
2018-07-10 10:32       ` NeilBrown
2018-07-10 10:32         ` NeilBrown
2018-07-11 11:51         ` Daniel Vetter
2018-07-11 11:51           ` Daniel Vetter
2018-07-11 23:05           ` Andrew Morton
2018-07-11 23:05             ` Andrew Morton
2018-07-12  6:39             ` Daniel Vetter
2018-07-12  6:39               ` Daniel Vetter
2018-07-13 23:37             ` NeilBrown
2018-07-13 23:42               ` Randy Dunlap
2018-07-13 23:42                 ` Randy Dunlap
2018-07-16  8:11                 ` Andy Shevchenko
2018-07-16 15:41                   ` Randy Dunlap
2018-07-16 15:41                     ` Randy Dunlap
2018-07-16 22:16                   ` NeilBrown
2018-07-09 16:50 ` ✗ Fi.CI.CHECKPATCH: warning for series starting with kernel.h: Add for_each_if() (rev3) Patchwork
2018-07-09 17:05 ` ✓ Fi.CI.BAT: success " Patchwork
2018-07-10  2:08 ` ✓ Fi.CI.IGT: " Patchwork

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180709085036.3996.28580@emeril.freedesktop.org \
    --to=patchwork@emeril.freedesktop.org \
    --cc=daniel.vetter@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.