From: Greg KH <gregkh@linuxfoundation.org>
To: Tommy Lo <tommy.lo@advantech.com.tw>
Cc: arnd@arndb.de, linux-kernel@vger.kernel.org,
oakley.ding@advantech.com.tw
Subject: Re: [PATCH] add Advantech acpi6 hard disk swap button driver
Date: Thu, 8 Sep 2016 12:24:46 +0200 [thread overview]
Message-ID: <20160908102446.GB22483@kroah.com> (raw)
In-Reply-To: <1473240729-28588-1-git-send-email-tommy.lo@advantech.com.tw>
On Wed, Sep 07, 2016 at 09:32:09AM +0000, Tommy Lo wrote:
> Dear Maintainer,
> This is writing from Advantech , an IPC/Server manufacturer locates in Taiwan. We would like to upstream a hard disk hot swap button driver for Advantech compactPCI products.
> The source code is in the appended document and more precise information is listed as the following. Thanks!
>
> Information:
> ACPI6-B provide hot-plug button for each SAS HDD, and interrupt (IRQ5) is generated when pressing button or plugging hard disk. The module catches IRQ5, then raises signal to user space application after checking corresponding status register. It also provides ioctl method which response to CPLD to notify LED on/off .
> The module is developed by Advantech, and follows the Linux code style guidelines to ensure that there aren't any sparse or compile warnings.
>
Thanks for the patch, but can you resend it with a Signed-off-by: line,
as described by Documentation/SubmittingPatches? We need that before we
can take anything.
Also, you should run the code through scripts/checkpatch.pl and fix up
the errors it finds. There are still a number of basic coding style
fixes that need to be done.
And finally, this code really should tie the LED interaction into the
LED kernel subsystem, so that you do not need a custom userspace program
to handle ioctls just for LED control. Do you need help in making those
changes?
thanks,
greg k-h
prev parent reply other threads:[~2016-09-08 10:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-07 9:32 Tommy Lo
2016-09-08 10:24 ` Greg KH [this message]
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=20160908102446.GB22483@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=oakley.ding@advantech.com.tw \
--cc=tommy.lo@advantech.com.tw \
/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®