From patchwork Wed Jun 1 14:30:30 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ramsay Jones X-Patchwork-Id: 9147495 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C958F60467 for ; Wed, 1 Jun 2016 14:38:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BB5232654B for ; Wed, 1 Jun 2016 14:38:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B01F82699B; Wed, 1 Jun 2016 14:38:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F10322654B for ; Wed, 1 Jun 2016 14:38:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758382AbcFAOiR (ORCPT ); Wed, 1 Jun 2016 10:38:17 -0400 Received: from avasout01.plus.net ([84.93.230.227]:49217 "EHLO avasout01.plus.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757890AbcFAOiQ (ORCPT ); Wed, 1 Jun 2016 10:38:16 -0400 X-Greylist: delayed 459 seconds by postgrey-1.27 at vger.kernel.org; Wed, 01 Jun 2016 10:38:16 EDT Received: from [10.0.2.15] ([84.92.139.254]) by avasout01 with smtp id 1SWX1t0025VX2mk01SWYfw; Wed, 01 Jun 2016 15:30:35 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=bsGxfxui c=1 sm=1 tr=0 a=RCQFcU9wfaUQolwYLdiqXg==:117 a=RCQFcU9wfaUQolwYLdiqXg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=Y9ya1HMiCrlHhWr2BTcA:9 a=QEXdDO2ut3YA:10 a=yJM6EZoI5SlJf8ks9Ge_:22 X-AUTH: ramsayjones@:2500 To: Christopher Li Cc: Sparse Mailing-list From: Ramsay Jones Subject: [PATCH] sparse: add 'alloc_align' to the ignored attributes Message-ID: <574EF186.5030505@ramsayjones.plus.com> Date: Wed, 1 Jun 2016 15:30:30 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Ramsay Jones --- Hi Chris, Rui's recent patch prompted me to send this patch, which I have been running with for a while. ATB, Ramsay Jones parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse.c b/parse.c index b43d683..4b03192 100644 --- a/parse.c +++ b/parse.c @@ -504,6 +504,8 @@ static struct init_keyword { const char *ignored_attributes[] = { "alias", "__alias__", + "alloc_align", + "__alloc_align__", "alloc_size", "__alloc_size__", "always_inline",