From: David Miller <davem@davemloft.net>
To: tony@bakeyournoodle.com
Cc: robert.w.love@intel.com, JBottomley@parallels.com,
devel@open-fcoe.org, netdev@vger.kernel.org,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Replace IS_ENABLED(CONFIG_FCOE) in linux/netdevice.h
Date: Thu, 15 Mar 2012 20:51:39 -0400 (EDT) [thread overview]
Message-ID: <20120315.205139.858349725408037483.davem@davemloft.net> (raw)
In-Reply-To: <1331857815-2333-1-git-send-email-tony@bakeyournoodle.com>
From: Tony Breeds <tony@bakeyournoodle.com>
Date: Fri, 16 Mar 2012 11:30:15 +1100
> On platforms that (or configs that do not have PCI support building any
> code that includes linux/netdevice.h we see the following warnings:
>
> include/linux/netdevice.h:964:1: warning: "__enabled_CONFIG_FCOE" is not defined [-Wundef]
> include/linux/netdevice.h:964:1: warning: "__enabled_CONFIG_FCOE_MODULE" is not defined [-Wundef]
>
> In the case of this file we can trivially fallback to the old school
> #if defined(...) syntax.
>
> Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Fix IS_ENABLED to handle cases like this so we don't need special
cases like this scattered around the tree.
next prev parent reply other threads:[~2012-03-16 0:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-16 0:30 Tony Breeds
2012-03-16 0:51 ` David Miller [this message]
2012-03-16 0:55 ` Ben Hutchings
2012-03-16 3:22 ` Tony Breeds
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=20120315.205139.858349725408037483.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=JBottomley@parallels.com \
--cc=devel@open-fcoe.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=robert.w.love@intel.com \
--cc=tony@bakeyournoodle.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®