On Mon, Nov 22, 2021 at 3:57 PM Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> wrote: > > Andrii mentioned in [0] that switching to ARG_CONST_SIZE_OR_ZERO lets > user avoid having to prove that string size at runtime is not zero and > helps with not having to supress clang optimizations. > > [0]: https://lore.kernel.org/bpf/CAEf4BzZa_vhXB3c8atNcTS6=krQvC25H7K7c3WWZhM=27ro=Wg@xxxxxxxxxxxxxx > > Suggested-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> Acked-by: Song Liu <songliubraving@xxxxxx>