public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Rasmus Villemoes <ravi@prevas.dk>
To: Simon Glass <sjg@chromium.org>
Cc: u-boot@lists.denx.de,  Stefan Roese <sr@denx.de>,
	 Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH 02/13] cyclic: introduce u-boot/schedule.h
Date: Wed, 09 Oct 2024 13:08:13 +0200	[thread overview]
Message-ID: <875xq15yaq.fsf@prevas.dk> (raw)
In-Reply-To: <CAFLszTiiCgKGrn2vuMSfrg9Et=Oi+VcEEycQjYK7qS7zAQEesA@mail.gmail.com> (Simon Glass's message of "Tue, 8 Oct 2024 19:52:38 -0600")

Simon Glass <sjg@chromium.org> writes:

> On Thu, 3 Oct 2024 at 15:28, Rasmus Villemoes <ravi@prevas.dk> wrote:

>>  common/cyclic.c           |  1 +
>>  include/cyclic.h          | 12 +-----------
>>  include/u-boot/schedule.h | 24 ++++++++++++++++++++++++
>>  3 files changed, 26 insertions(+), 11 deletions(-)
>>  create mode 100644 include/u-boot/schedule.h
>
> Reviewed-by: Simon Glass <sjg@chromium.org>
>
> But could it just be include/schedule.h ?

I think the last paragraph in the commit message should answer that:

>> Testing of later patches that explicitly include <schedule.h> when
>> schedule() is used revealed a problem with host tool build on win32,
>> which apparently picked up a host <schedule.h>. To avoid that problem,
>> put the new header in include/u-boot/ and hence make the include
>> statements say <u-boot/schedule.h>.

So I tried that at first, and it worked fine for all my local builds,
but the CI told me it couldn't. I can try to find the old github PR
where I got the CI to tell me this (it's months ago I started doing
this), but I don't know if the azure logs still exist.

Rasmus

  reply	other threads:[~2024-10-09 11:08 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-03 21:27 [PATCH 00/13] disentangling cyclic API from schedule() Rasmus Villemoes
2024-10-03 21:27 ` [PATCH 01/13] doc: cyclic: remove reference to WATCHDOG_RESET Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:10   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 02/13] cyclic: introduce u-boot/schedule.h Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-09 11:08     ` Rasmus Villemoes [this message]
2024-10-09 21:13       ` Simon Glass
2024-10-22 11:11   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 03/13] led: include cyclic.h in led_sw_blink.c Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:11   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 04/13] m68k: asm/ptrace.h: include linux/types.h Rasmus Villemoes
2024-10-04 17:14   ` Tom Rini
2024-10-22 11:11   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 05/13] fs/cramfs: use schedule instead of cyclic_run as callback Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:11   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 06/13] test: dm: wdt: replace cyclic_run() by schedule() Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:12   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 07/13] cyclic: make cyclic_run static Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:12   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 08/13] watchdog.h: change include of cyclic.h to u-boot/schedule.h Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:12   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 09/13] lib/sha*: include u-boot/schedule.h instead of cyclic.h Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:13   ` Stefan Roese
2024-10-03 21:27 ` [PATCH 10/13] i2c: rzg2l: include u-boot/schedule.h Rasmus Villemoes
2024-10-09  1:55   ` Simon Glass
2024-10-22 11:13   ` Stefan Roese
2024-10-03 21:28 ` [PATCH 11/13] ddr: altera: " Rasmus Villemoes
2024-10-09  1:52   ` Simon Glass
2024-10-22 11:13   ` Stefan Roese
2024-10-03 21:28 ` [PATCH 12/13] boot: cedit: " Rasmus Villemoes
2024-10-09  1:51   ` Simon Glass
2024-10-22 11:13   ` Stefan Roese
2024-10-03 21:28 ` [PATCH 13/13] global_data.h: remove unnecesary include of cyclic.h Rasmus Villemoes
2024-10-04 17:15   ` Tom Rini
2024-10-22 11:14   ` Stefan Roese
2024-10-04 11:20 ` [PATCH 00/13] disentangling cyclic API from schedule() Stefan Roese
2024-10-23 10:53 ` Stefan Roese

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=875xq15yaq.fsf@prevas.dk \
    --to=ravi@prevas.dk \
    --cc=sjg@chromium.org \
    --cc=sr@denx.de \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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