diff options
author | Sergey Senozhatsky <sergey.senozhatsky@gmail.com> | 2018-02-06 15:37:52 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-02-06 18:32:44 -0800 |
commit | ad343a98e74e85aa91d844310e797f96fee6983b (patch) | |
tree | bffefa2e44d2d3b50fdb9d01074e90eb50d77826 /kernel/async.c | |
parent | dfbc3c6cb747c074aa2ba0a10bbeea588d6dfda6 (diff) | |
download | linux-ad343a98e74e85aa91d844310e797f96fee6983b.tar.gz linux-ad343a98e74e85aa91d844310e797f96fee6983b.tar.bz2 linux-ad343a98e74e85aa91d844310e797f96fee6983b.zip |
tools/lib/subcmd/pager.c: do not alias select() params
Use a separate fd set for select()-s exception fds param to fix the
following gcc warning:
pager.c:36:12: error: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Werror=restrict]
select(1, &in, NULL, &in, NULL);
^~~ ~~~
Link: http://lkml.kernel.org/r/20180101105626.7168-1-sergey.senozhatsky@gmail.com
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions