Re: [PATCH v2 3/3] staging: rtl8192e: Constify struct lib80211_crypto_ops

From: Greg KH
Date: Tue Aug 13 2024 - 04:53:51 EST


On Mon, Aug 05, 2024 at 08:40:39AM +0200, Christophe JAILLET wrote:
> Now that functions in lib80211 handle "const struct lib80211_crypto_ops",
> some structure can be constified as well.
>
> Constifying these structures moves some data to a read-only section, so
> increase overall security.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---
> Compile tested only.

Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>