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

From: Borislav Petkov
Date: Sat Aug 05 2017 - 01:45:37 EST


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.

--
Regards/Gruss,
Boris.

ECO tip #101: Trim your mails when you reply.
--