lkml.org 
[lkml]   [2013]   [Aug]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [TRIVIAL] Remove braces in drivers/scsi/in2000.h to fix build for clang. No functional change otherwise.
On Tue, Aug 20, 2013 at 11:19:06PM +0200, dl9pf@gmx.de wrote:
> From: Jan-Simon M??ller <dl9pf@gmx.de>
>
> Author: PaX Team <pageexec at freemail.hu>
> ML-Post: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120507/142707.html
> URL: http://llvm.linuxfoundation.org
>
> Merge: Jan-Simon M??ller <dl9pf at gmx.de>
>
> Description:
> Clang chokes on the notation "insw (%%dx)" but works for "insw %%dx" (outsw likewise);
> GNU as accepts both forms.
>
> Signed-off-by: Jan-Simon M??ller <dl9pf@gmx.de>

I think the right fix is to simply kill the FAST_READ_IO/FAST_WRITE_IO
defines and their associated inline assembly entirely.



\
 
 \ /
  Last update: 2013-08-21 09:01    [W:0.858 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site