RE: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-06 Thread Maciej W. Rozycki
On Thu, 5 Feb 2015, Daniel Sanders wrote: > Apologies for the slow response. I've had an excessive amount of > meetings in the last couple days. No worries, if anyone, it's not me in a hurry here. ;) > > This definitely looks like a bug in clang to me. What this construct > > means is both

RE: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-06 Thread Maciej W. Rozycki
On Thu, 5 Feb 2015, Daniel Sanders wrote: Apologies for the slow response. I've had an excessive amount of meetings in the last couple days. No worries, if anyone, it's not me in a hurry here. ;) This definitely looks like a bug in clang to me. What this construct means is both input

RE: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-05 Thread Daniel Sanders
handras; Leonid Yegoshin; linux- > m...@linux-mips.org; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output > type mismatch' error. > > On Tue, 3 Feb 2015, Daniel Sanders wrote: > > > From: Toma Tabacu > > > > Ch

RE: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-05 Thread Daniel Sanders
; linux- m...@linux-mips.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error. On Tue, 3 Feb 2015, Daniel Sanders wrote: From: Toma Tabacu toma.tab...@imgtec.com Change the type of csum_ipv6_magic's 'proto

Re: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-04 Thread Maciej W. Rozycki
On Tue, 3 Feb 2015, Daniel Sanders wrote: > From: Toma Tabacu > > Change the type of csum_ipv6_magic's 'proto' argument from unsigned > short to __u32. > > This fixes a type mismatch between the 'htonl(proto)' inline asm > input, which is __u32, and the 'proto' output, which is unsigned >

Re: [PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-04 Thread Maciej W. Rozycki
On Tue, 3 Feb 2015, Daniel Sanders wrote: From: Toma Tabacu toma.tab...@imgtec.com Change the type of csum_ipv6_magic's 'proto' argument from unsigned short to __u32. This fixes a type mismatch between the 'htonl(proto)' inline asm input, which is __u32, and the 'proto' output, which is

[PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu Change the type of csum_ipv6_magic's 'proto' argument from unsigned short to __u32. This fixes a type mismatch between the 'htonl(proto)' inline asm input, which is __u32, and the 'proto' output, which is unsigned short. This is the error message reported by clang:

[PATCH 3/5] MIPS: LLVMLinux: Fix an 'inline asm input/output type mismatch' error.

2015-02-03 Thread Daniel Sanders
From: Toma Tabacu toma.tab...@imgtec.com Change the type of csum_ipv6_magic's 'proto' argument from unsigned short to __u32. This fixes a type mismatch between the 'htonl(proto)' inline asm input, which is __u32, and the 'proto' output, which is unsigned short. This is the error message