[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGb2v64eeq0v+nZ0gNOVTvWbEuk52DOX-aX0K=jO6tvSun8uCQ@mail.gmail.com>
Date: Sat, 7 Dec 2013 10:13:44 +0800
From: Chen-Yu Tsai <wens@...e.org>
To: David Miller <davem@...emloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@...com>,
netdev@...r.kernel.org, "rob.herring" <rob.herring@...xeda.com>,
devicetree <devicetree@...r.kernel.org>,
linux-arm-kernel <linux-arm-kernel@...ts.infradead.org>,
linux-kernel <linux-kernel@...r.kernel.org>,
linux-sunxi@...glegroups.com,
Srinivas KANDAGATLA <srinivas.kandagatla@...com>,
"maxime.ripard" <maxime.ripard@...e-electrons.com>
Subject: Re: [PATCH 03/10] net: stmmac: Use platform data tied with compatible strings
On Sat, Dec 7, 2013 at 5:26 AM, David Miller <davem@...emloft.net> wrote:
> From: Chen-Yu Tsai <wens@...e.org>
> Date: Sat, 7 Dec 2013 01:29:36 +0800
>
>> + device = of_match_device(stmmac_dt_ids, &pdev->dev);
>> + if (!device)
>> + return -ENODEV;
>> +
>> + if (device->data)
>> + memcpy(plat, device->data, sizeof(*plat));
>> +
>
> Don't invent your own indentation using spaces, this memcpy()
> call is not indented properly, it should be two TABs.
Noted. Will fix.
--
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