Re: [PATCH v2 6/7] EDAC: add edac_check_mc_owner() to check MC owner

Kani, Toshimitsu
2017-08-07T14:55:51Z

On Sat, 2017-08-05 at 07:44 +0200, Borislav Petkov wrote:
> On Fri, Aug 04, 2017 at 09:35:05PM +0000, Kani, Toshimitsu wrote:
> > 1 means the caller's init function can continue its initialization
> > --
> > such conditions are free or owned by itself.
>
> Make that:
>
> edac_get_owner(void)
>
> to return the owner string or NULL if there's no owner.
>
> The caller can then do the string checking and do strncmp() to limit
> the string length being checked.

Good idea! Will do.

Thanks,
-Toshi