From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4DBBECEB.4020809@domain.hid> Date: Sat, 30 Apr 2011 13:05:15 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <4DBB05A6.10704@domain.hid> <4DBBE8C5.9080508@domain.hid> In-Reply-To: <4DBBE8C5.9080508@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Xenomai-core] [Xenomai-git] Jan Kiszka : x86: Fix return type of DO_SYSCALL_INNER macro List-Id: Xenomai life and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: "xenomai@xenomai.org" Jan Kiszka wrote: > On 2011-04-29 20:38, Gilles Chanteperdrix wrote: >> GIT version control wrote: >>> Module: xenomai-jki >>> Branch: for-upstream >>> Commit: 852c130d16410a597536c39d06b6abd1c9c6c822 >>> URL: http://git.xenomai.org/?p=3Dxenomai-jki.git;a=3Dcommit;h=3D85= 2c130d16410a597536c39d06b6abd1c9c6c822 >>> >>> Author: Jan Kiszka >>> Date: Fri Apr 29 14:12:13 2011 +0200 >>> >>> x86: Fix return type of DO_SYSCALL_INNER macro >>> >>> gcc will complain about 'conversion to =E2=80=98int=E2=80=99 from =E2= =80=98long int=E2=80=99 may alter >>> its value' with -Wconversion as DO_SYSCALL treats the return value of= >>> DO_SYSCALL_INNER as int. Align DO_SYSCALL_INNER to its user. >>> >>> Signed-off-by: Jan Kiszka >> Should not it be aligned the other way around? Using longs everywhere?= >> In case a syscall returns a pointer? >=20 > Maybe. But let's do this when we have a use case. Lots of arch macros, > inline functions, and core code would have to be touched. Right, sorry for the noise. --=20 Gilles.