lkml.org 
[lkml]   [2013]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] arch: m68k: include: asm: the 3rd parameter of 'insl' and 'outsl' need '<< 2'
From
On Mon, Jun 3, 2013 at 11:40 AM, Chen Gang <gang.chen@asianux.com> wrote:
> On 06/01/2013 08:38 AM, schmitz wrote:
>>>>> The related git number:
>>>>> for parport.h: "4914802 m68k,m68knommu: merge header files" in 2009
>>>>> for io_mm.h: "84b16b7 m68k/atari: ROM port ISA adapter support" in
>>>>> Apr 6 2013
>>>>>
>>>>> The related warning (make EXTRA_CFLAG=-W ARCH=m68k allmodconfig):
>>>>> arch/m68k/include/asm/parport.h:14:0: warning: "insl" redefined
>>>>> [enabled by default]
>>>>> arch/m68k/include/asm/io_mm.h:403:0: note: this is the location of
>>>>> the previous definition
>>>>> arch/m68k/include/asm/parport.h:15:0: warning: "outsl" redefined
>>>>> [enabled by default]
>>>>> arch/m68k/include/asm/io_mm.h:406:0: note: this is the location of
>>>>> the previous definition
>>>>>
>>> Is that the same problem Thorsten reported recently? parport.h should
>>> either use what the arch io.h include defined, or (in the case of Q40
>>> on m68k) undef and redefine as needed.
>> It appears this is the same issue, see message ID
>> loom.20130511T171757-995@post.gmane.org to linux-m68k (May 12th, by
>> Thorsten Glaser).
>>
>> This _only_ applies to use of insl/outsl macros in parport_pc.h, which
>> is only used by Q40 on m68k. I see no reason to change anything in io.h
>> to cope with this warning.
>
> It sounds reasonable.
>
> And excuse me, could you provide the related link directly ? I don't
> know how to see the detail of 'loom.20130511T171757-995@post.gmane.org'.

http://www.spinics.net/lists/linux-m68k/msg06041.html

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds


\
 
 \ /
  Last update: 2013-06-03 13:21    [W:0.240 / U:0.744 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site