From patchwork Wed Mar 11 15:45:47 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Al Viro X-Patchwork-Id: 11162 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n2BFkK2u005199 for ; Wed, 11 Mar 2009 15:46:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750732AbZCKPpt (ORCPT ); Wed, 11 Mar 2009 11:45:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750764AbZCKPpt (ORCPT ); Wed, 11 Mar 2009 11:45:49 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:34401 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750732AbZCKPpt (ORCPT ); Wed, 11 Mar 2009 11:45:49 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.69 #1 (Red Hat Linux)) id 1LhQct-0006sH-5W for linux-sparse@vger.kernel.org; Wed, 11 Mar 2009 15:45:47 +0000 To: linux-sparse@vger.kernel.org Subject: Braino in attribute_packed() Message-Id: From: Al Viro Date: Wed, 11 Mar 2009 15:45:47 +0000 Sender: linux-sparse-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sparse@vger.kernel.org D'oh... Signed-off-by: Al Viro --- parse.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/parse.c b/parse.c index f16d321..e2b47e3 100644 --- a/parse.c +++ b/parse.c @@ -943,7 +943,7 @@ static struct token *ignore_attribute(struct token *token, struct symbol *attr, static struct token *attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx) { - if (!&ctx->ctype.alignment) + if (!ctx->ctype.alignment) ctx->ctype.alignment = 1; return token; }