lkml.org 
[lkml]   [2013]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 03/10] net: stmmac: Use platform data tied with compatible strings
From
From: Chen-Yu Tsai <wens@csie.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.


\
 
 \ /
  Last update: 2013-12-06 23:01    [W:0.618 / U:1.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site