lkml.org 
[lkml]   [2018]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/4] rcutorture/nolibc: fix some poor indentation and alignment
On Sat, Dec 29, 2018 at 07:02:17PM +0100, Willy Tarreau wrote:
> A few macros had their rightmost backslash misaligned, and the pollfd
> struct definition resisted the previous code reindent. Nothing else
> changed.
>
> Cc: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
> Signed-off-by: Willy Tarreau <w@1wt.eu>

Reviewed-by: Joey Pabalinas <joeypabalinas@gmail.com>

> ---
> tools/testing/selftests/rcutorture/bin/nolibc.h | 14 +++++++-------
> 1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/tools/testing/selftests/rcutorture/bin/nolibc.h b/tools/testing/selftests/rcutorture/bin/nolibc.h
> index 30bd27b..985364c 100644
> --- a/tools/testing/selftests/rcutorture/bin/nolibc.h
> +++ b/tools/testing/selftests/rcutorture/bin/nolibc.h
> @@ -81,9 +81,9 @@ typedef signed long time_t;
>
> /* for poll() */
> struct pollfd {
> - int fd;
> - short int events;
> - short int revents;
> + int fd;
> + short int events;
> + short int revents;
> };
>
> /* for select() */
> @@ -239,7 +239,7 @@ struct stat {
> "syscall\n" \
> : "=a" (_ret) \
> : "0"(_num) \
> - : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> + : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> ); \
> _ret; \
> })
> @@ -255,7 +255,7 @@ struct stat {
> : "=a" (_ret) \
> : "r"(_arg1), \
> "0"(_num) \
> - : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> + : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> ); \
> _ret; \
> })
> @@ -272,7 +272,7 @@ struct stat {
> : "=a" (_ret) \
> : "r"(_arg1), "r"(_arg2), \
> "0"(_num) \
> - : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> + : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> ); \
> _ret; \
> })
> @@ -290,7 +290,7 @@ struct stat {
> : "=a" (_ret) \
> : "r"(_arg1), "r"(_arg2), "r"(_arg3), \
> "0"(_num) \
> - : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> + : "rcx", "r8", "r9", "r10", "r11", "memory", "cc" \
> ); \
> _ret; \
> })
> --
> 2.9.0
>

--
Cheers,
Joey Pabalinas
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-12-29 23:31    [W:0.078 / U:0.816 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site