lsm: Add a __counted_by() annotation to lsm_ctx.ctx
The ctx in struct lsm_ctx is an array of size ctx_len, tell the compiler about this using __counted_by() where supported to improve the ability to detect overflow issues. Reported-by:Aishwarya TCV <aishwarya.tcv@arm.com> Signed-off-by:
Mark Brown <broonie@kernel.org> Signed-off-by:
Paul Moore <paul@paul-moore.com>
Loading
Please sign in to comment