On Wed, May 31, 2023 at 8:23 AM Richard Weinberger <rich...@nod.at> wrote: > ----- Ursprüngliche Mail ----- > >>>> arch/um/os-Linux/drivers/tuntap_user.c:149:17: error: implicit > >>>> declaration of > >>>> function 'strscpy'; did you mean 'strncpy'? > >>>> [-Werror=implicit-function-declaration] > >> 149 | strscpy(ifr.ifr_name, pri->dev_name, > >> sizeof(ifr.ifr_name)); > >> | ^~~~~~~ > >> | strncpy > >> cc1: some warnings being treated as errors > > > > Ah, yeah, this is another "not actually in the kernel" cases. Let's ignore > > this > > strlcpy for now. > > Well, actually it's another case of "not even compile tested". :-(
"But the AI said it was correct?!?" ;-) Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-um mailing list linux-um@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-um