[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51C43A6D.6060806@cogentembedded.com>
Date: Fri, 21 Jun 2013 15:35:09 +0400
From: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
To: Aaron Lu <aaron.lu@...el.com>
CC: Tejun Heo <tj@...nel.org>, Matthew Garrett <mjg@...hat.com>,
Liu Jiang <liuj97@...il.com>,
Dirk Griesbach <spamthis@...enet.de>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
Liu Jiang <jiang.liu@...wei.com>
Subject: Re: [PATCH] libata: remove dead code from libata-acpi.c
Hello.
On 21-06-2013 4:55, Aaron Lu wrote:
>>> +void ata_acpi_hotplug_init(struct ata_host *host)
>>> +{
>>> + int i;
>>> +
>>> + for (i = 0; i < host->n_ports; i++) {
>>> + struct ata_port *ap = host->ports[i];
>>> + acpi_handle handle;
>>> + struct ata_device *dev;
>>> +
>>> + if (!ap)
>>> + continue;
>>> +
>>> + handle = ata_ap_acpi_handle(ap);
>>> + if (handle) {
>>> + /* we might be on a docking station */
>>> + register_hotplug_dock_device(handle,
>>> + &ata_acpi_ap_dock_ops, ap);
>> Please indent this line under the next character after ( above.
> Is there a link about this rule? I might have missed something about
> coding style.
Don't think so. This is a rule in some subsystems like networking,
and it's also the way Emacs does such things. So, in principle, you can
ignore my comment (although libata seems to also use this style).
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists