mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Simmons, James A." <simmonsja@ornl.gov>
To: "'Guenter Roeck'" <linux@roeck-us.net>,
	Geert Uytterhoeven <geert@linux-m68k.org>
Cc: driverdevel <devel@driverdev.osuosl.org>,
	James Simmons <jsimmons@infradead.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Oleg Drokin <oleg.drokin@intel.com>,
	Andreas Dilger <andreas.dilger@intel.com>,
	"lustre-devel@lists.lustre" <lustre-devel@lists.lustre>
Subject: RE: [PATCH v4 4/9] staging:lustre: merge socklnd_lib-linux.h into socklnd.h
Date: Thu, 25 Jun 2015 15:06:37 +0000	[thread overview]
Message-ID: <d1cf55b6a943441892138470b0f85ba0@EXCHCS32.ornl.gov> (raw)
In-Reply-To: <20150625013346.GA13107@roeck-us.net>

>> > diff --git a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
>> > index 53275f9..7125eb9 100644
>> > --- a/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
>> > +++ b/drivers/staging/lustre/lnet/klnds/socklnd/socklnd.h
>> > @@ -25,16 +25,40 @@
>> >   *
>> >   */
>> >
>> > +#ifndef _SOCKLND_SOCKLND_H_
>> > +#define _SOCKLND_SOCKLND_H_
>> > +
>> >  #define DEBUG_PORTAL_ALLOC
>> >  #define DEBUG_SUBSYSTEM S_LND
>> >
>> > -#include "socklnd_lib-linux.h"
>> > +#include <asm/irq.h>
>> > +#include <linux/crc32.h>
>> > +#include <linux/errno.h>
>> 
>> Including <asm/irq.h> first causes a build failure for m68k/allmodconfig:
>> 
>> arch/m68k/include/asm/irq.h:77:12: error: expected '=', ',', ';',
>> 'asm' or '__attribute__' before 'void'
>> arch/m68k/include/asm/irq.h:78:1: error: unknown type name 'atomic_t'
>> arch/m68k/include/asm/irq.h:77:12: error: expected '=', ',', ';',
>> 'asm' or '__attribute__' before 'void'
>> arch/m68k/include/asm/irq.h:78:1: error: unknown type name 'atomic_t'
>> 
>> http://kisskb.ellerman.id.au/kisskb/buildresult/12448922/
>> 
>> Fixing it inside arch/m68k/include/asm/irq.h might cause Include Hell,
>> so perhaps you can just move the <asm/*> include below all <linux/*>
>> includes?

I looked at our main development branch and I see socklnd.h no longer has
#include <asm/irq.h>. We can just remove the irq.h from socklnd.h.

  parent reply	other threads:[~2015-06-25 15:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-11 19:18 [PATCH 0/9] staging:lustre: remove kernel defines in userland headers James Simmons
2015-06-11 19:18 ` [PATCH v4 1/9] staging:lustre: Delete all obsolete LND drivers James Simmons
2015-06-11 19:18 ` [PATCH v4 2/9] staging:lustre: remove lnet/include/lnet/linux/ James Simmons
2015-06-11 19:18 ` [PATCH v4 3/9] staging:lustre: rename socklnd_lib-linux.c James Simmons
2015-06-11 19:18 ` [PATCH v4 4/9] staging:lustre: merge socklnd_lib-linux.h into socklnd.h James Simmons
2015-06-24 12:37   ` Geert Uytterhoeven
2015-06-25  1:33     ` Guenter Roeck
2015-06-25  6:37       ` Geert Uytterhoeven
2015-06-25 15:02         ` Simmons, James A.
2015-06-25 15:06       ` Simmons, James A. [this message]
2015-06-11 19:18 ` [PATCH v4 5/9] staging:lustre: move LNet NID macros to LNet layer James Simmons
2015-06-11 19:18 ` [PATCH v4 6/9] staging:lustre: separate kernel and user land defines in the LNet headers James Simmons
2015-06-11 19:18 ` [PATCH v4 7/9] staging:lustre: fix camel case for LNetInit and LNetFini James Simmons
2015-06-11 19:18 ` [PATCH v4 8/9] staging:lustre: LNet header code cleanup - indentation etc James Simmons
2015-06-11 19:18 ` [PATCH v4 9/9] staging:lustre: Update license and copyright for the LNET headers James Simmons

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=d1cf55b6a943441892138470b0f85ba0@EXCHCS32.ornl.gov \
    --to=simmonsja@ornl.gov \
    --cc=andreas.dilger@intel.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jsimmons@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=lustre-devel@lists.lustre \
    --cc=oleg.drokin@intel.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®