Re: [PATCHv2 1/4] EDAC/altera: Add suppress_bind_attrs so driver cannot get unbound

Borislav Petkov <[email protected]>
Newsgroups org.kernel.vger.linux-edac,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <20260814035624.GCan6R6BgX0EoB6-DO@fat_crate.local>
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: [email protected]
> Signed-off-by: Dinh Nguyen <[email protected]>
> ---
>  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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.