Re: [PATCH 3/8] ACPI, x86: Extended error log driver for x86 platform

From: Tony Luck
Date: Mon Oct 14 2013 - 13:17:01 EST


On Mon, Oct 14, 2013 at 10:07 AM, Borislav Petkov <bp@xxxxxxxxx> wrote:
> Ok, then. How about a reg/dereg functionality, something like what I did
> in drivers/edac/mce_amd.c, near the top? We're basically handing down a
> proper function pointer to call and at module unload time we clear it.

Yes - register and unregister functions would be better than

> exporting a naked function pointer.

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/