From: Valdis.Kletnieks@vt.edu
To: "Pali Rohár" <pali.rohar@gmail.com>
Cc: Matthew Garrett <matthew.garrett@nebula.com>,
Randy Dunlap <rdunlap@infradead.org>,
linux-kernel@vger.kernel.org,
platform-driver-x86@vger.kernel.org, linux-doc@vger.kernel.org,
Sonal Santan <sonal.santan@gmail.com>
Subject: Re: [PATCH 1/2] platform: x86: dell-smo8800: Dell Latitude freefall driver (ACPI SMO8800/SMO8810)
Date: Tue, 20 May 2014 14:02:41 -0400 [thread overview]
Message-ID: <20424.1400608961@turing-police.cc.vt.edu> (raw)
In-Reply-To: Your message of "Tue, 20 May 2014 10:56:47 +0200." <201405201056.47726@pali>
[-- Attachment #1: Type: text/plain, Size: 2026 bytes --]
On Tue, 20 May 2014 10:56:47 +0200, Pali Rohár said:
> Hm? Which errors? Here is output from checkpacth:
>
> total: 0 errors, 0 warnings, 276 lines checked
>
> 0001-platform-x86-dell-smo8800-Dell-Latitude-freefall-dri.patch
> has no obvious style problems and is ready for submission.
>
> total: 0 errors, 0 warnings, 181 lines checked
>
> 0002-Documentation-Rename-hpfall.c-freefall.c-fixes-for-D.patch
> has no obvious style problems and is ready for submission.
Hmm.. what tree are you building against? I wonder if your checkpatch is
a different version than mine (next-20140519). What I see:
[/usr/src/linux-next] scripts/checkpatch.pl patches/freefall.1
WARNING: Missing a blank line after declarations
#135: FILE: drivers/platform/x86/dell-smo8800.c:41:
+ struct smo8800_device *smo8800 = data;
+ atomic_inc(&smo8800->count);
WARNING: Missing a blank line after declarations
#143: FILE: drivers/platform/x86/dell-smo8800.c:49:
+ struct smo8800_device *smo8800 = data;
+ dev_info(smo8800->dev, "detected free fall\n");
WARNING: Missing a blank line after declarations
#318: FILE: drivers/platform/x86/dell-smo8800.c:224:
+ struct smo8800_device *smo8800 = device->driver_data;
+ free_irq(smo8800->irq, smo8800);
total: 0 errors, 3 warnings, 276 lines checked
patches/freefall.1 has style problems, please review.
[/usr/src/linux-next] scripts/checkpatch.pl patches/freefall.2
WARNING: Missing a blank line after declarations
#126: FILE: Documentation/laptops/freefall.c:47:
+ int fd = open(unload_heads_path, O_RDONLY);
+ if (fd < 0) {
WARNING: Missing a blank line after declarations
#139: FILE: Documentation/laptops/freefall.c:60:
+ int fd = open(path, O_RDWR);
+ if (fd < 0) {
WARNING: Missing a blank line after declarations
#161: FILE: Documentation/laptops/freefall.c:82:
+ const char *str = (seconds == 0) ? "Unparked" : "Parked";
+ write_int(unload_heads_path, seconds*1000);
total: 0 errors, 3 warnings, 181 lines checked
[-- Attachment #2: Type: application/pgp-signature, Size: 848 bytes --]
next prev parent reply other threads:[~2014-05-20 18:04 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 10:47 [PATCH 0/2] " Pali Rohár
2014-05-03 10:47 ` [PATCH 1/2] platform: x86: dell-smo8800: " Pali Rohár
2014-05-07 16:29 ` One Thousand Gnomes
2014-05-20 7:00 ` Valdis.Kletnieks
2014-05-20 8:56 ` Pali Rohár
2014-05-20 18:02 ` Valdis.Kletnieks [this message]
2014-05-20 18:10 ` Pali Rohár
2014-05-20 18:36 ` Valdis.Kletnieks
2014-05-22 11:15 ` [PATCH v2] " Pali Rohár
2014-05-28 13:31 ` Pali Rohár
2014-06-06 10:24 ` Pali Rohár
2014-05-03 10:47 ` [PATCH 2/2] Documentation: Rename hpfall.c => freefall.c, fixes for Dell Pali Rohár
2014-06-11 8:02 ` [PATCH v2] " Pali Rohár
2014-06-14 8:53 ` Pavel Machek
2014-06-16 11:55 ` Pali Rohár
2014-06-27 19:08 ` Pali Rohár
2014-06-27 20:25 ` Randy Dunlap
2014-06-29 2:12 ` Randy Dunlap
2014-07-07 18:15 ` Pali Rohár
2014-07-08 22:49 ` Randy Dunlap
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=20424.1400608961@turing-police.cc.vt.edu \
--to=valdis.kletnieks@vt.edu \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.garrett@nebula.com \
--cc=pali.rohar@gmail.com \
--cc=platform-driver-x86@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=sonal.santan@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®