diff options
| author | Sergey Senozhatsky <[email protected]> | 2018-02-06 23:37:52 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2018-02-07 02:32:44 +0000 |
| commit | ad343a98e74e85aa91d844310e797f96fee6983b (patch) | |
| tree | bffefa2e44d2d3b50fdb9d01074e90eb50d77826 /lib/test_bitmap.c | |
| parent | uuid: cleanup <uapi/linux/uuid.h> (diff) | |
| download | kernel-ad343a98e74e85aa91d844310e797f96fee6983b.tar.gz kernel-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/[email protected]
Signed-off-by: Sergey Senozhatsky <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions
