Re: [PATCHv2 1/4] EDAC/altera: Add suppress_bind_attrs so driver cannot get unbound
From: Borislav Petkov
Date: Thu Aug 13 2026 - 23:56:53 EST
On Thu, Aug 06, 2026 at 10:54:09AM -0500, Dinh Nguyen wrote:
> Subject: Re: [PATCHv2 1/4] EDAC/altera: Add suppress_bind_attrs so driver cannot get unbound
...: Do not allow driver unbinding
> The EDAC driver should not be able to be removed from userspace because a
> re-bind would clear out existing memory contents of an active running system.
Simplify this one.
> With this change, remove the .remove functions because they will not
s/With this change, r/R/
> ever get used.
>
> Fixes: 588cb03ea208 ("EDAC, altera: Add Arria10 L2 Cache ECC handling")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Dinh Nguyen <dinguyen@xxxxxxxxxx>
> ---
> drivers/edac/altera_edac.c | 25 ++++---------------------
> 1 file changed, 4 insertions(+), 21 deletions(-)
Rest LGTM.
Thx.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette