The change is correct: after this point split is only read, through pointer subtraction against *ns_name, split++, the strncmp() against "//", and skipn_spaces(), which already takes a const char *. strnchr() returns a pointer derived from the const fqname, so the qualifier is safe and behaviour is unchanged.
Built security/apparmor/lib.o with the patch applied (arm64, W=1): no warnings. One note on recipients: get_maintainer.pl also lists John Johansen, Georgia Garcia and [email protected] for this file, so I have added them here. The posting only reached the LSM side. Reviewed-by: Guicai Ma <[email protected]> Thanks, Guicai Ma
