bug-indent
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing space after a comma


From: Andrés Moré
Subject: missing space after a comma
Date: Mon, 10 Aug 2009 21:42:09 -0300

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.

address@hidden ~ $ indent --version
GNU indent 2.2.9
address@hidden ~ $ cat /etc/gentoo-release
Gentoo Base System release 1.12.11.1



Hope it helps...

Thanks!

-- 
Andres




reply via email to

[Prev in Thread] Current Thread [Next in Thread]