diff options
author | Andrey Utkin <[email protected]> | 2014-07-17 17:22:38 +0300 |
---|---|---|
committer | Ralf Baechle <[email protected]> | 2014-08-26 02:18:59 +0200 |
commit | 98fb24af5e6885ae5ae6b1598a875922e0d83a36 (patch) | |
tree | 6d361d95926fe5620d335ac95dd3e227741f77e9 /scripts/gdb/linux/tasks.py | |
parent | 68c77d8a1e1ad6cfe228390702f3e4eb2bf8e17a (diff) |
arch/mips/net/bpf_jit.c: fix failure check
static int pkt_type_offset(void) returned -1 in case of failure, and actual
(positive) offset value in case of success. In the only instance of its usage,
the result was saved to local "unsigned int off" variable, which is used in a
lot of places in the same (large) function, so changing its type could cause
many warnings. So new signed int variable was added.
Signed-off-by: Andrey Utkin <[email protected]>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80371
Reported-by: David Binderman <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/7380/
Signed-off-by: Ralf Baechle <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions