diff options
author | Andy Whitcroft <apw@canonical.com> | 2012-03-23 23:02:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-24 00:58:36 +0100 |
commit | daebc534ac15f991961a5bb433e515988220e9bf (patch) | |
tree | add72230235f44a56111cad80913985ad24aaf6d /scripts/bin2c.c | |
parent | checkpatch.pl: be silent when -q and --ignore is given (diff) | |
download | linux-daebc534ac15f991961a5bb433e515988220e9bf.tar.xz linux-daebc534ac15f991961a5bb433e515988220e9bf.zip |
checkpatch: catch [ ... ] usage when not at the beginning of definition
Handle the [ A ... B ] form deeper into a definition, for example:
static const unsigned char pci_irq_swizzle[2][PCI_MAX_DEVICES] = {
{0, 0, 0, 0, 0, 0, 0, 27, 27, [9 ... PCI_MAX_DEVICES - 1] = 0 },
{0, 0, 0, 0, 0, 0, 0, 29, 29, [9 ... PCI_MAX_DEVICES - 1] = 0 },
};
Reported-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'scripts/bin2c.c')
0 files changed, 0 insertions, 0 deletions