lkml.org 
[lkml]   [2023]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v5 3/8] net-next: mvpp2: relax return value check for IRQ get
Fri, May 19, 2023 at 02:01:47PM +0300, Matti Vaittinen kirjoitti:
> fwnode_irq_get[_byname]() were changed to not return 0 anymore.
>
> Drop check for return value 0.

...

> - if (v->irq <= 0) {
> + if (v->irq < 0) {
> ret = -EINVAL;

ret = v->irq;

?

> goto err;
> }

--
With Best Regards,
Andy Shevchenko


\
 
 \ /
  Last update: 2023-05-21 20:04    [W:0.081 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site