From patchwork Tue Aug 13 10:31:14 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hanjun Guo X-Patchwork-Id: 19048 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vb0-f72.google.com (mail-vb0-f72.google.com [209.85.212.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2C99C24687 for ; Tue, 13 Aug 2013 10:33:17 +0000 (UTC) Received: by mail-vb0-f72.google.com with SMTP id f12sf511664vbg.11 for ; Tue, 13 Aug 2013 03:33:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=f1aOZ1igdRnW0zUMZ74LPIH5EaY/+5s6HzqCOHxW41U=; b=IrJwMZHpMZW1lgWi0dMF/04dP0qfScwjT4y0GXzjXWIkOEp/KYwQiSD1kvc/AXOpQ+ GBKrLSlMAOeMJbYcJq3LyM7e0kRY725cuLY3jVjAG+51bUBkjwW50dGajSPJfDCNKdo+ 0t+3UFsPCvJEoU/uyXFfLlx5xIkFP+/g0tiffZKkpxdgO5+nwxyS07fFxDdAJb0vhMD/ OiF0I17NOjMfPu1hk8FIIoWaMDUtMnYdjq0RD19GEXeUHJ9cSiS1o/Lql9FXOHZ1hi1+ Xne9FZEbV5uTnvc8vWi9hpIZ9D/A1k+yTSSCUUXgYSUDs7qa1z9q/+TGYc5flPCy7R/Y eG2Q== X-Received: by 10.236.207.169 with SMTP id n29mr302854yho.50.1376389996709; Tue, 13 Aug 2013 03:33:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.195 with SMTP id lm3ls2714433qeb.89.gmail; Tue, 13 Aug 2013 03:33:16 -0700 (PDT) X-Received: by 10.220.91.16 with SMTP id k16mr3873034vcm.21.1376389996586; Tue, 13 Aug 2013 03:33:16 -0700 (PDT) Received: from mail-vb0-f51.google.com (mail-vb0-f51.google.com [209.85.212.51]) by mx.google.com with ESMTPS id cu1si9554530vcb.136.2013.08.13.03.33.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:33:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.51; Received: by mail-vb0-f51.google.com with SMTP id x16so6507437vbf.10 for ; Tue, 13 Aug 2013 03:33:16 -0700 (PDT) X-Gm-Message-State: ALoCoQnWok6XGi/N4n2XhHkJw2VLMQZ0ZTcqwH57DwgpBvhnw+SYubG2B6v72RXV7rA2YPu+NRHO X-Received: by 10.52.186.8 with SMTP id fg8mr92884vdc.53.1376389996504; Tue, 13 Aug 2013 03:33:16 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp146383vcz; Tue, 13 Aug 2013 03:33:16 -0700 (PDT) X-Received: by 10.66.186.12 with SMTP id fg12mr1274508pac.178.1376389995607; Tue, 13 Aug 2013 03:33:15 -0700 (PDT) Received: from mail-pd0-f173.google.com (mail-pd0-f173.google.com [209.85.192.173]) by mx.google.com with ESMTPS id mu18si25778576pab.118.2013.08.13.03.33.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:33:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.173 is neither permitted nor denied by best guess record for domain of hanjun.guo@linaro.org) client-ip=209.85.192.173; Received: by mail-pd0-f173.google.com with SMTP id p10so4693747pdj.4 for ; Tue, 13 Aug 2013 03:33:15 -0700 (PDT) X-Received: by 10.68.106.99 with SMTP id gt3mr3824692pbb.116.1376389995065; Tue, 13 Aug 2013 03:33:15 -0700 (PDT) Received: from localhost ([218.17.215.175]) by mx.google.com with ESMTPSA id sp4sm42986430pbc.45.2013.08.13.03.32.46 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 13 Aug 2013 03:33:14 -0700 (PDT) From: Hanjun Guo To: "Rafael J. Wysocki" Cc: linux-acpi@vger.kernel.org, patches@linaro.org, linaro-kernel@lists.linaro.org, linaro-acpi@lists.linaro.org, Hanjun Guo Subject: [PATCH 2/3] ACPI / numa: Fix __init attribute locations Date: Tue, 13 Aug 2013 18:31:14 +0800 Message-Id: <1376389876-11791-2-git-send-email-hanjun.guo@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1376389876-11791-1-git-send-email-hanjun.guo@linaro.org> References: <1376389876-11791-1-git-send-email-hanjun.guo@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: hanjun.guo@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.51 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , __init belongs after the return type on functions, not before it. Signed-off-by: Hanjun Guo --- drivers/acpi/numa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 33e609f..2e82e5d 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -159,7 +159,7 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header) * distance than the others. * Do some quick checks here and only use the SLIT if it passes. */ -static __init int slit_valid(struct acpi_table_slit *slit) +static int __init slit_valid(struct acpi_table_slit *slit) { int i, j; int d = slit->locality_count;