lkml.org 
[lkml]   [2022]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH net-next 05/13] sunhme: Regularize probe errors
On Sun, 18 Sep 2022 19:26:18 -0400 Sean Anderson wrote:
> - err = -ENODEV;
> + err = -EINVAL;
> if ((pci_resource_flags(pdev, 0) & IORESOURCE_IO) != 0) {
> printk(KERN_ERR "happymeal(PCI): Cannot find proper PCI device base address.\n");
> goto err_out_clear_quattro;
> }

Why not move it inside the if?

\
 
 \ /
  Last update: 2022-09-20 22:54    [W:0.221 / U:1.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site