From patchwork Mon Feb 11 01:49:28 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 2123091 Return-Path: X-Original-To: patchwork-linux-sparse@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 4E3293FCA4 for ; Mon, 11 Feb 2013 01:48:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751936Ab3BKBsg (ORCPT ); Sun, 10 Feb 2013 20:48:36 -0500 Received: from 173-166-109-252-newengland.hfc.comcastbusiness.net ([173.166.109.252]:55647 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903Ab3BKBsg (ORCPT ); Sun, 10 Feb 2013 20:48:36 -0500 Received: from static-50-53-38-135.bvtn.or.frontiernet.net ([50.53.38.135] helo=dragon.site) by bombadil.infradead.org with esmtpsa (Exim 4.76 #1 (Red Hat Linux)) id 1U4iVW-0002WR-Bw; Mon, 11 Feb 2013 01:48:34 +0000 Message-ID: <51184E28.40909@infradead.org> Date: Sun, 10 Feb 2013 17:49:28 -0800 From: Randy Dunlap User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2 MIME-Version: 1.0 To: linux-sparse@vger.kernel.org, Christopher Li Subject: sparse: add noclone as an ignored attribute Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org From: Randy Dunlap Add attribute "noclone" or "__noclone" or "__noclone__" as an ignored attribute. Fixes this sparse warning: arch/x86/kvm/vmx.c:6268:13: error: attribute '__noclone__': unknown attribute Signed-off-by: Randy Dunlap --- parse.c | 3 +++ 1 file changed, 3 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- sparse-2013-0210.orig/parse.c +++ sparse-2013-0210/parse.c @@ -541,6 +541,9 @@ const char *ignored_attributes[] = { "__naked__", "no_instrument_function", "__no_instrument_function__", + "noclone", + "__noclone", + "__noclone__", "noinline", "__noinline__", "nonnull",