mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <sha@pengutronix.de>
To: Alexander Shiyan <eagle.alexander923@gmail.com>
Cc: Barebox List <barebox@lists.infradead.org>
Subject: Re: v2022.05.0
Date: Thu, 19 May 2022 12:44:46 +0200	[thread overview]
Message-ID: <20220519104446.GT25578@pengutronix.de> (raw)
In-Reply-To: <CAP1tNvT6RpQ5P4ZX4z0cObdOxL0ZBw9y_N9MSQv_9vB1NpTfPA@mail.gmail.com>

On Thu, May 19, 2022 at 11:11:06AM +0300, Alexander Shiyan wrote:
> ср, 18 мая 2022 г. в 16:00, Sascha Hauer <sha@pengutronix.de>:
> > Hi All,
> > barebox-2022.05.0 is out.
> 
> Hello.
> After updating to the new version, I found errors...
> This is probably the result of the "gpio: allocate dynamic gpio
> numbers top down" patch.
> In the gpiochip_find_base function, it seems to me that we should
> change the algorithm
> if the chip exists, such as:
> if (!chip) {
>   ...
> } else {
>   spare = 0;
>   i+= chip->ngpio - 1; // Should be: i -= chip->ngpio - 1; ???
> }

Yes, indeed :(

I just sent a fix.

Sascha


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2022-05-19 10:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-18 12:58 v2022.05.0 Sascha Hauer
2022-05-19  8:11 ` v2022.05.0 Alexander Shiyan
2022-05-19 10:44   ` Sascha Hauer [this message]

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=20220519104446.GT25578@pengutronix.de \
    --to=sha@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=eagle.alexander923@gmail.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