missing space after a comma
Andrés Moré <[email protected]> Mon, 10 Aug 2009 21:42:09 -0300
| Newsgroups | gmane.comp.gnu.indent.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm developing an USB Wifi driver for Linux, and I've found that a
file was not passing scripts/checkpatch after applying scripts/Lindent
which is a wrapper around indent. Lindent uses '-npro -kr -i8 -ts8
-sob -l80 -ss -ncs -cp1 -il0' as flags for indent.
before:
static struct ieee80211_rate wbsoft_rates[] = {
{ .bitrate = 10, .flags = IEEE80211_RATE_SHORT_PREAMBLE },
};
after:
static struct ieee80211_rate wbsoft_rates[] = {
{.bitrate = 10,.flags = IEEE80211_RATE_SHORT_PREAMBLE},
};
(note the missing whitespace after the first comma.)
The file is linux-2.6.30.4/drivers/staging/winbond/wbusb.c and I have
the latest stable version of indent on a Gentoo system.
amore@t60 ~ $ indent --version
GNU indent 2.2.9
amore@t60 ~ $ cat /etc/gentoo-release
Gentoo Base System release 1.12.11.1
Hope it helps...
Thanks!
--
Andres