On 24-01-24, Ahmad Fatoum wrote: > On 24.01.24 14:47, Marco Felsch wrote: > > This can be useful for developers. > > > > Signed-off-by: Marco Felsch <m.felsch@xxxxxxxxxxxxxx> > > --- > > lib/uncompress.c | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/lib/uncompress.c b/lib/uncompress.c > > index e7a3ffde823e..48e8173501c6 100644 > > --- a/lib/uncompress.c > > +++ b/lib/uncompress.c > > @@ -97,6 +97,8 @@ int uncompress(unsigned char *inbuf, int len, > > ft = file_detect_type(uncompress_buf, 32); > > } > > > > + pr_debug("Filetype detected: %s\n", file_type_to_string(ft)); > > Not that I mind, but do you know about the filetype command? I used it to check the kernel image within a fit container. Regards, Marco > > > + > > switch (ft) { > > #ifdef CONFIG_BZLIB > > case filetype_bzip2: > > -- > 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 | > >