lkml.org 
[lkml]   [2015]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v3 3/5] ata: add Broadcom AHCI SATA3 driver for STB chips
From
On Tue, May 12, 2015 at 8:28 PM, Brian Norris
<computersforpeace@gmail.com> wrote:

> + res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "ahci");
> + ahci = devm_ioremap_resource(&pdev->dev, res);
> + if (IS_ERR(ahci))
> + return 0;

You should propagate 'return PTR_ERR(ahci)' instead.


\
 
 \ /
  Last update: 2015-05-22 01:01    [W:0.110 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site