Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754118AbbE1MEp (ORCPT ); Thu, 28 May 2015 08:04:45 -0400 Received: from mail.emea.novell.com ([130.57.118.101]:57329 "EHLO mail.emea.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753356AbbE1MEh convert rfc822-to-8bit (ORCPT ); Thu, 28 May 2015 08:04:37 -0400 Message-Id: <55672071020000780007E8D0@mail.emea.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.0.1 Date: Thu, 28 May 2015 13:04:33 +0100 From: "Jan Beulich" To: "David Vrabel" , "Boris Ostrovsky" , "Konrad Rzeszutek Wilk" Cc: Subject: [PATCH v2] xen/tmem: use BUILD_BUG_ON() in favor of BUG_ON() Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Jan Beulich --- drivers/xen/tmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- v2: Drop the description at David's request. --- 4.1-rc5/drivers/xen/tmem.c +++ 4.1-rc5-tmem-BUILD_BUG_ON/drivers/xen/tmem.c @@ -395,7 +395,7 @@ static int __init xen_tmem_init(void) } #endif #ifdef CONFIG_CLEANCACHE - BUG_ON(sizeof(struct cleancache_filekey) != sizeof(struct tmem_oid)); + BUILD_BUG_ON(sizeof(struct cleancache_filekey) != sizeof(struct tmem_oid)); if (tmem_enabled && cleancache) { int err;