/* * Copyright (c) 2015 Jiri Pirko * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef __NET_TC_BPF_H #define __NET_TC_BPF_H #include #include struct tcf_bpf { struct tc_action common; struct bpf_prog __rcu *filter; union { u32 bpf_fd; u16 bpf_num_ops; }; struct sock_filter *bpf_ops; const char *bpf_name; }; #define to_bpf(a) ((struct tcf_bpf *)a) #endif /* __NET_TC_BPF_H */ y>
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Thanki <vishalthanki@gmail.com>2016-11-16 17:01:54 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-11-23 17:34:05 +0200
commita083c8fd277b4122c804f18ec8c84165f345c71c (patch)
tree156b999879c66990441e697a391d6a40e0b0c85d /Documentation/devicetree/bindings/input
parente644b88e0a2587122fd7f829ca6ec518631220ed (diff)
rt2x00: Fix incorrect usage of CONFIG_RT2X00_LIB_USB
In device removal routine, usage of "#ifdef CONFIG_RT2X00_LIB_USB" will not cover the case when it is configured as module. This will omit the entire if-block which does cleanup of URBs and cancellation of pending work. Changing the #ifdef to #if IS_ENABLED() to fix it. Signed-off-by: Vishal Thanki <vishalthanki@gmail.com> Acked-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'Documentation/devicetree/bindings/input')