Re: [PATCH] [TRIVIAL] Remove braces in drivers/scsi/in2000.h to fixbuild for clang. No functional change otherwise.

From: Christoph Hellwig
Date: Wed Aug 21 2013 - 02:50:31 EST


On Tue, Aug 20, 2013 at 11:19:06PM +0200, dl9pf@xxxxxx wrote:
> From: Jan-Simon M??ller <dl9pf@xxxxxx>
>
> 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@xxxxxx>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/