diff options
| author | Neil Armstrong <superna9999@gmail.com> | 2014-04-01 15:03:44 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-04-25 15:33:35 -0700 |
| commit | 2f4285d17d3a5ae42e2811005dbcd4818d5d6ebe (patch) | |
| tree | 9e368f937d297b11bdb0ed31ede4a762ba9f17ba /include/uapi | |
| parent | bfdaa39f42e6f7b364f3c499af9a67b1d8186c8b (diff) | |
Staging: silicom: fix dangerous if condition in bpctl_mod.c
checkpatch script returns the following warning:
ERROR: do not use assignment in if condition
+ if (((dev_num = get_dev_idx(dev->ifindex)) ==
-1) |
This patch fixes the if condition by splitting it.
Signed-off-by: Neil Armstrong <superna9999@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/uapi')
0 files changed, 0 insertions, 0 deletions
