From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: [PATCH v2] xen/keyhandler: Rework keyhandler infrastructure Date: Thu, 24 Sep 2015 11:36:30 +0100 Message-ID: <5603D22E.2020002@citrix.com> References: <1443023707-8803-1-git-send-email-andrew.cooper3@citrix.com> <5603E80402000078000A5323@prv-mh.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5603E80402000078000A5323@prv-mh.provo.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich Cc: Keir Fraser , Xen-devel List-Id: xen-devel@lists.xenproject.org >> +void register_irq_keyhandler(unsigned char key, >> + irq_keyhandler_fn_t *fn, >> + const char *desc, >> + bool_t diagnostic); > I wonder whether the last parameter is really useful here. Yes. There are diagnostic irq_keyhandlers, 'd' for example. All callers in practice will be __init, so overhead is not interesting, and it should be present for completeness. ~Andrew