From patchwork Thu Sep 2 20:27:47 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ralf Thielow X-Patchwork-Id: 150181 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o82KSRhG023904 for ; Thu, 2 Sep 2010 20:28:28 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756980Ab0IBU2P (ORCPT ); Thu, 2 Sep 2010 16:28:15 -0400 Received: from mail-ey0-f174.google.com ([209.85.215.174]:33793 "EHLO mail-ey0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756975Ab0IBU2O (ORCPT ); Thu, 2 Sep 2010 16:28:14 -0400 Received: by eyb6 with SMTP id 6so631686eyb.19 for ; Thu, 02 Sep 2010 13:28:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=5fx1YcCH4hjyv2cKOk+C3ElRSMRBbrfttFMLd6ofqqA=; b=aY8g8wdr6sdckqt4SUaPRoy86B0e3gSIXzo9VhRLlA0MDh2DJcMpYRinwcMzHU6Mvg 62OJ7Cr4kOm6KitbUBKygfA3//g1uQgvOoeNee8dvbzKADbjWwPIfyz553XMWN7S8Gy2 dg+sGjQ17Q/VZbg1l44q3SPi70Kxxf0yhhE/s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=dZsbqA2ZA54UG/g2GvVGnytFw6Xv2SEpzpoBTwC2BhEUiQwTNfGUg0CVZ0Qs/30Czz 1T1StGB5iq/HxnGdR61t+PypVDcaofZJQCk2+66Jgm5juWSgpJH2QhZw3mejkEz+JKyc 3r+vfoZh0Ciuiyh0N/qx2VsqDduXunjnlAPxo= Received: by 10.213.35.208 with SMTP id q16mr154067ebd.17.1283459292991; Thu, 02 Sep 2010 13:28:12 -0700 (PDT) Received: from localhost.localdomain (dslb-094-222-159-075.pools.arcor-ip.net [94.222.159.75]) by mx.google.com with ESMTPS id v8sm1342304eeh.20.2010.09.02.13.28.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 02 Sep 2010 13:28:11 -0700 (PDT) From: Ralf Thielow To: rientjes@google.com Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Ralf Thielow Subject: [PATCH] acpi: numa: fixed white space and line length issue Date: Thu, 2 Sep 2010 22:27:47 +0200 Message-Id: <1283459267-6171-1-git-send-email-ralf.thielow@googlemail.com> X-Mailer: git-send-email 1.7.0.4 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Thu, 02 Sep 2010 20:28:28 +0000 (UTC) diff --git a/drivers/acpi/numa.c b/drivers/acpi/numa.c index 5718566..9864c5b 100644 --- a/drivers/acpi/numa.c +++ b/drivers/acpi/numa.c @@ -102,7 +102,7 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header) "SRAT Processor (id[0x%02x] eid[0x%02x]) in proximity domain %d %s\n", p->apic_id, p->local_sapic_eid, p->proximity_domain_lo, - (p->flags & ACPI_SRAT_CPU_ENABLED)? + (p->flags & ACPI_SRAT_CPU_ENABLED) ? "enabled" : "disabled")); } #endif /* ACPI_DEBUG_OUTPUT */ @@ -118,9 +118,10 @@ acpi_table_print_srat_entry(struct acpi_subtable_header *header) (unsigned long)p->base_address, (unsigned long)p->length, p->proximity_domain, - (p->flags & ACPI_SRAT_MEM_ENABLED)? + (p->flags & ACPI_SRAT_MEM_ENABLED) ? "enabled" : "disabled", - (p->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE)? + (p->flags & + ACPI_SRAT_MEM_HOT_PLUGGABLE) ? " hot-pluggable" : "")); } #endif /* ACPI_DEBUG_OUTPUT */ @@ -236,7 +237,7 @@ acpi_parse_processor_affinity(struct acpi_subtable_header *header, } static int __init -acpi_parse_memory_affinity(struct acpi_subtable_header * header, +acpi_parse_memory_affinity(struct acpi_subtable_header *header, const unsigned long end) { struct acpi_srat_mem_affinity *memory_affinity; @@ -265,7 +266,8 @@ static int __init acpi_parse_srat(struct acpi_table_header *table) static int __init acpi_table_parse_srat(enum acpi_srat_type id, - acpi_table_entry_handler handler, unsigned int max_entries) + acpi_table_entry_handler handler, + unsigned int max_entries) { return acpi_table_parse_entries(ACPI_SIG_SRAT, sizeof(struct acpi_table_srat), id,