Linux GPIO subsystem development
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: Patrick Rudolph <patrick.rudolph@9elements.com>,
	Linus Walleij <linusw@kernel.org>,
	kernel test robot <lkp@intel.com>,
	Dan Carpenter <dan.carpenter@linaro.org>
Subject: Re: [PATCH v1 1/1] pinctrl: cy8c95x0: Avoid returning positive values to user space
Date: Mon, 2 Mar 2026 11:50:22 +0200	[thread overview]
Message-ID: <aaVdXnhZDyCI-1IY@ashevche-desk.local> (raw)
In-Reply-To: <20260227164335.2044035-1-andriy.shevchenko@linux.intel.com>

On Fri, Feb 27, 2026 at 05:43:35PM +0100, Andy Shevchenko wrote:
> When probe fails due to unclear interrupt status register, it returns
> a positive number instead of the proper error code. Fix this accordingly.

Note, for backporting this should be transformed to

-		return ret;
+		return -EBUSY;

in the respective lines.

-- 
With Best Regards,
Andy Shevchenko



  reply	other threads:[~2026-03-02  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-27 16:43 [PATCH v1 1/1] pinctrl: cy8c95x0: Avoid returning positive values to user space Andy Shevchenko
2026-03-02  9:50 ` Andy Shevchenko [this message]
2026-03-10 10:54 ` Linus Walleij
2026-03-10 10:55   ` Linus Walleij
2026-03-10 11:04     ` Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aaVdXnhZDyCI-1IY@ashevche-desk.local \
    --to=andriy.shevchenko@linux.intel.com \
    --cc=dan.carpenter@linaro.org \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=patrick.rudolph@9elements.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox