lkml.org 
[lkml]   [2016]   [May]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 08/11] NFC: pn533: reduce output when stopping poll
Hi Michael,

On Thu, Apr 21, 2016 at 04:43:56PM +0200, Michael Thalmeier wrote:
> @@ -1259,7 +1259,8 @@ static int pn533_rf_complete(struct pn533 *dev, void *arg,
> if (IS_ERR(resp)) {
> rc = PTR_ERR(resp);
>
> - nfc_err(dev->dev, "RF setting error %d\n", rc);
> + if (rc != -ENOENT)
> + nfc_err(dev->dev, "RF setting error %d\n", rc);
Why ?


>
> return rc;
> }
> @@ -1416,9 +1417,6 @@ static int pn533_poll_complete(struct pn533 *dev, void *arg,
> if (IS_ERR(resp)) {
> rc = PTR_ERR(resp);
>
> - nfc_err(dev->dev, "%s Poll complete error %d\n",
> - __func__, rc);
> -
Why are you removing that one ?

Cheers,
Samuel.

\
 
 \ /
  Last update: 2016-05-02 01:41    [W:0.398 / U:1.796 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site