[PATCH 1/6] Add INLINE_SYSCALL_RETURN/INLINE_SYSCALL_ERROR_RETURN

H.J. Lu hjl.tools@gmail.com
Fri Aug 14 17:31:00 GMT 2015


On Fri, Aug 14, 2015 at 5:44 AM, Andreas Schwab <schwab@linux-m68k.org> wrote:
> "H.J. Lu" <hjl.tools@gmail.com> writes:
>
>> +/* Define a macro which expands inline into the wrapper code for a system
>> +   call and return.  */
>> +#ifndef INLINE_SYSCALL_RETURN
>> +#define INLINE_SYSCALL_RETURN(name, nr, type, args...) \
>> +  {                                                          \
>> +    return (type) INLINE_SYSCALL (name, nr, args);           \
>> +  }
>
> This should be written as a proper statement that can be followed by a
> semicolon.
>

Here is the updated patch.  OK for master?

Thanks.

-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-INLINE_SYSCALL_RETURN-INLINE_SYSCALL_ERROR_RETUR.patch
Type: text/x-patch
Size: 59391 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20150814/447fde13/attachment.bin>


More information about the Libc-alpha mailing list