From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Cieslak Subject: [PATCH v2] Avoid clang prior initialization error when listing MTRR Date: Wed, 24 Sep 2014 09:49:32 +0000 Message-ID: <1411552173-52583-1-git-send-email-saper@saper.info> References: <5416E8330200007800034F1B@mail.emea.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1XWjCd-0000IA-Tw for xen-devel@lists.xenproject.org; Wed, 24 Sep 2014 09:49:40 +0000 In-Reply-To: <5416E8330200007800034F1B@mail.emea.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: xen-devel@lists.xenproject.org Cc: JBeulich@suse.com List-Id: xen-devel@lists.xenproject.org Thanks for your insight, Jan. What about the following patch? Uninitialized entries in the enum-to-int array will automatically fallback to zero. Also "?" functionality is preserved this time. //Marcin