Messages in this thread |  | | Date | Mon, 24 Feb 2014 13:29:16 +0000 | From | One Thousand Gnomes <> | Subject | Re: [PATCH RESEND] x86: iosf_mbi: Provide dummy functions if CONFIG_IOSF_MBI not set |
| |
On Mon, 24 Feb 2014 05:21:43 -0800 "H. Peter Anvin" <hpa@zytor.com> wrote:
> On 02/24/2014 05:19 AM, One Thousand Gnomes wrote: > > > > Other than _available I would have expected all the others to resolve to > > returning an error or doing a WARN() in the not compiled in case. > > > > WARN() or BUG()?
WARN I think. The usage cases I am aware of don't end up in catastrophic failure if you get this wrong, but would be annoying to debug if missed.
Alan
|  |