All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [tip:x86/acpi 1/6] include/linux/acpi.h:433:5: warning: "CONFIG_X86" is not defined
Date: Fri, 28 Sep 2012 02:49:48 +0000	[thread overview]
Message-ID: <20120928024948.GA9946@localhost> (raw)
In-Reply-To: <20120928024603.GG9155@localhost>

Hi Thomas,

FYI, there are new compile warnings show up in

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/acpi
head:   4901b402c957d4ebaff123ffc34fafe3cef99542
commit: 9e0a90cdff5b89599d73695b4d9971d1075c0b14 [1/6] X86 ACPI: Introduce x86 arch specific arch_reserve_mem_area() for e820 handling
config: alpha-defconfig

All warnings:

In file included from init/main.c:25:0:
include/linux/acpi.h:433:5: warning: "CONFIG_X86" is not defined [-Wundef]
include/linux/acpi.h:436:42: error: unknown type name 'acpi_physical_address'

vim +433 include/linux/acpi.h

9e0a90cd (Thomas Renninger  2012-09-26 @433) #if CONFIG_X86
9e0a90cd (Thomas Renninger  2012-09-26  434) void arch_reserve_mem_area(acpi_physical_address addr, size_t size);
9e0a90cd (Thomas Renninger  2012-09-26  435) #else
9e0a90cd (Thomas Renninger  2012-09-26  436) static inline void arch_reserve_mem_area(acpi_physical_address addr,
9e0a90cd (Thomas Renninger  2012-09-26  437) 					  size_t size)
9e0a90cd (Thomas Renninger  2012-09-26  438) {
9e0a90cd (Thomas Renninger  2012-09-26  439) }
9e0a90cd (Thomas Renninger  2012-09-26  440) #endif /* CONFIG_X86 */

---
0-DAY kernel build testing backend         Open Source Technology Centre
Fengguang Wu, Yuanhan Liu                              Intel Corporation

      reply	other threads:[~2012-09-28  2:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-28  2:46 [tip:x86/acpi 1/6] include/linux/acpi.h:434:28: error: unknown type name 'acpi_physical_address' Fengguang Wu
2012-09-28  2:49 ` Fengguang Wu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120928024948.GA9946@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kernel-janitors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.