mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
	Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH 2/2] bootm: create generic FIT image handler
Date: Tue, 8 Apr 2025 12:27:23 +0200	[thread overview]
Message-ID: <d4fec09a-d646-4769-bde2-c38cdd10297e@pengutronix.de> (raw)
In-Reply-To: <20250407130729.2889508-2-s.hauer@pengutronix.de>

Hi Sascha,

On 07.04.25 15:07, Sascha Hauer wrote:
> -static struct image_handler arm_fit_handler = {
> -        .name = "FIT image",
> -        .bootm = do_bootm_linux,
> -        .filetype = filetype_oftree,
> -};
> -

You delete the object, but not the references to it from the initcall.


> -static __maybe_unused int sandbox_fit_register(void)
> +static int sandbox_fit_register(void)
>  {
> -	return register_image_handler(&sandbox_fit_handler);
> +	return register_image_handler(&fit_handler);
>  }
> -#ifdef CONFIG_SANDBOX
>  late_initcall(sandbox_fit_register);

Initcall needs to be renamed.

> -#endif


Cheers,
Ahmad


-- 
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 |



  reply	other threads:[~2025-04-08 11:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-07 13:07 [PATCH 1/2] bootm: move ELF handling to bootm handlers Sascha Hauer
2025-04-07 13:07 ` [PATCH 2/2] bootm: create generic FIT image handler Sascha Hauer
2025-04-08 10:27   ` Ahmad Fatoum [this message]
2025-04-14  8:57 ` [PATCH 1/2] bootm: move ELF handling to bootm handlers Sascha Hauer

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=d4fec09a-d646-4769-bde2-c38cdd10297e@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=s.hauer@pengutronix.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