[PATCH 31/79] libperf: Add perf_thread_map struct

2019-07-21 Thread Jiri Olsa
Adding perf_thread_map struct into libperf. It's added as a declaration into into: include/perf/threadmap.h which will be included by users. The perf_thread_map struct definition is added into: include/internal/threadmap.h which is not to be included by users, but shared within perf and

[PATCH 35/79] libperf: Include perf_evsel in evsel object

2019-07-21 Thread Jiri Olsa
Including perf_evsel in evsel object, will continue to move other generic things into libperf evsel. Link: http://lkml.kernel.org/n/tip-5hwrt780h6bkry7pxvqpr...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-sched.c | 2 +- tools/perf/builtin-trace.c | 2 +-

[PATCH 32/79] libperf: Add perf_thread_map__new_dummy function

2019-07-21 Thread Jiri Olsa
Moving following functions: thread_map__new_dummy thread_map__realloc thread_map__set_pid under libperf with following names: perf_thread_map__new_dummy perf_thread_map__realloc perf_thread_map__set_pid the other 2 functions are dependencies of the perf_thread_map__new_dummy

[PATCH 25/79] libperf: Add libperf in python.so compilation

2019-07-21 Thread Jiri Olsa
Link libperf.a with python.so. Link: http://lkml.kernel.org/n/tip-kxsfxvj7e2noz2kzhyf2i...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/Makefile.perf | 1 + tools/perf/util/setup.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/perf/Makefile.perf

[PATCH 24/79] libperf: Add build version support

2019-07-21 Thread Jiri Olsa
Adding shared library version, generating following files: $ ll toos/perf/lib/libperf.so* libperf.so -> libperf.so.0.0.1 libperf.so.0 -> libperf.so.0.0.1 libperf.so.0.0.1 Link: http://lkml.kernel.org/n/tip-d2cnt8qoqc5nxiibvzvuw...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 19/79] perf tools: Rename perf_evlist__open to evlist__open

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__open to evlist__open, so we don't have a name clash when we add perf_evlist__open in libperf. Link: http://lkml.kernel.org/n/tip-7b8seckx0anm4xgqhglae...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-

[PATCH 21/79] perf tools: Rename perf_evlist__enable to evlist__enable

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__enable to evlist__enable, so we don't have a name clash when we add perf_evlist__enable in libperf. Link: http://lkml.kernel.org/n/tip-9q67kqgxx9dv4rkhy8uxp...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-

[PATCH 26/79] libperf: Add perf/core.h header

2019-07-21 Thread Jiri Olsa
Adding perf/core.h header to be used in header files coming in following patches. Link: http://lkml.kernel.org/n/tip-4gcruaobuhxfyaa88j2gx...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/lib/include/perf/core.h | 9 + 1 file changed, 9 insertions(+) create mode 100644

[PATCH 22/79] perf tools: Rename perf_evlist__disable to evlist__disable

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__disable to evlist__disable, so we don't have a name clash when we add perf_evlist__disable in libperf. Link: http://lkml.kernel.org/n/tip-vn0lz359acxl89cq6fm54...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-

[PATCH 23/79] libperf: Make libperf.a part of the build

2019-07-21 Thread Jiri Olsa
Adding empty libperf.a under toos/perf/lib and linking it with perf. It can also be built separately with: $ cd tools/perf/lib && make CC core.o LD libperf-in.o AR libperf.a LINK libperf.so Link:

[PATCH 20/79] perf tools: Rename perf_evlist__close to evlist__close

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__close to evlist__close, so we don't have a name clash when we add perf_evlist__close in libperf. Link: http://lkml.kernel.org/n/tip-m1udn077bkmjdmaak6qhq...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-kvm.c | 2 +- tools/perf/builtin-stat.c | 4 ++--

[PATCH 18/79] perf tools: Rename perf_evsel__cpus to evsel__cpus

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__cpus to evsel__cpus, so we don't have a name clash when we add perf_evsel__cpus in libperf. Link: http://lkml.kernel.org/n/tip-3udl12g7x61nlxgasskcc...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evsel.h| 4 ++-- tools/perf/util/stat-display.c | 6

[PATCH 17/79] perf tools: Rename perf_evsel__apply_filter to evsel__apply_filter

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__apply_filter to evsel__apply_filter, so we don't have a name clash when we add perf_evsel__apply_filter in libperf. Link: http://lkml.kernel.org/n/tip-39471ej79lohwjen50um9...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evlist.c | 2 +-

[PATCH 16/79] perf tools: Rename perf_evsel__disable to evsel__disable

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__disable to evsel__disable, so we don't have a name clash when we add perf_evsel__disable in libperf. Link: http://lkml.kernel.org/n/tip-39471ej79lohwjen50um9...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/arm/util/cs-etm.c| 2 +-

[PATCH 15/79] perf tools: Rename perf_evsel__enable to evsel__enable

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__enable to evsel__enable, so we don't have a name clash when we add perf_evsel__enable in libperf. Link: http://lkml.kernel.org/n/tip-mgss0xfbhprdvdai1deob...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/arm/util/cs-etm.c| 2 +-

[PATCH 09/79] perf tools: Rename perf_evlist__delete to evlist__delete

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__delete to evlist__delete, so we don't have a name clash when we add perf_evlist__delete in libperf. Link: http://lkml.kernel.org/n/tip-od8hw47ixzd08wma85his...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/x86/tests/intel-cqm.c| 2 +-

[PATCH 11/79] perf tools: Rename perf_evsel__new to evsel__new

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__new to evsel__new, so we don't have a name clash when we add perf_evsel__new in libperf. Link: http://lkml.kernel.org/n/tip-iej45vzu76gv69qaxod2p...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-trace.c | 2 +- tools/perf/tests/sw-clock.c| 2 +-

[PATCH 06/79] perf tools: Rename perf_evsel__init to evsel__init

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__init to evsel__init, so we don't have a name clash when we add perf_evsel__init in libperf. Link: http://lkml.kernel.org/n/tip-ek9h0ywy7egemq42g34l7...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evsel.c | 8 tools/perf/util/evsel.h | 3 +--

[PATCH 10/79] perf tools: Rename perf_evsel__delete to evsel__delete

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__delete to evsel__delete, so we don't have a name clash when we add perf_evsel__delete in libperf. Also renaming perf_evsel__delete_priv to evsel__delete_priv. Link: http://lkml.kernel.org/n/tip-1idhej8393hqd36n1yy7r...@git.kernel.org Signed-off-by: Jiri Olsa ---

[PATCH 12/79] perf tools: Rename perf_evlist__add to evlist__add

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__add to evlist__add, so we don't have a name clash when we add perf_evlist__add in libperf. Link: http://lkml.kernel.org/n/tip-cjaidjrd4uae9t6ms1q5e...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-trace.c | 12 ++--

[PATCH 08/79] perf tools: Rename perf_evlist__new to evlist__new

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__new to evlist__new, so we don't have a name clash when we add perf_evlist__new in libperf. Link: http://lkml.kernel.org/n/tip-6trhnvxytm6m433qdjdzm...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/powerpc/util/kvm-stat.c | 2 +-

[PATCH 14/79] perf tools: Rename perf_evsel__open to evsel__open

2019-07-21 Thread Jiri Olsa
Renaming perf_evsel__open to evsel__open, so we don't have a name clash when we add perf_evsel__open in libperf. Link: http://lkml.kernel.org/n/tip-tdrno85i5s3d7kusfpl3t...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-record.c| 2 +- tools/perf/builtin-top.c

[PATCH 07/79] perf tools: Rename perf_evlist__init to evlist__init

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__init to evlist__init, so we don't have a name clash when we add perf_evlist__init in libperf. Link: http://lkml.kernel.org/n/tip-6trhnvxytm6m433qdjdzm...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/util/evlist.c | 6 +++--- tools/perf/util/evlist.h | 4 ++--

[PATCH 13/79] perf tools: Rename perf_evlist__remove to evlist__remove

2019-07-21 Thread Jiri Olsa
Renaming perf_evlist__remove to evlist__remove, so we don't have a name clash when we add perf_evlist__remove in libperf. Link: http://lkml.kernel.org/n/tip-xgzjnysc47nshnxecize1...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-inject.c | 4 ++-- tools/perf/util/evlist.c| 2

[PATCH 03/79] perf tools: Rename struct thread_map to struct perf_thread_map

2019-07-21 Thread Jiri Olsa
Renaming struct thread_map to struct perf_thread_map, so it could be part of libperf. Link: http://lkml.kernel.org/n/tip-9cgc4auwc7ifg8zycnd67...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +- tools/perf/builtin-record.c | 2

[PATCH 02/79] perf tools: Rename struct cpu_map to struct perf_cpu_map

2019-07-21 Thread Jiri Olsa
Renaming struct cpu_map to struct perf_cpu_map, so it could be part of libperf. Link: http://lkml.kernel.org/n/tip-isi1dlub7s0kf5wacvgpo...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +- tools/perf/arch/x86/util/intel-bts.c | 2 +-

[RFC 00/79] perf tools: Initial libperf separation

2019-07-21 Thread Jiri Olsa
hi, we have long term goal to separate some of the perf functionality into library. This patchset is initial effort on separating some of the interface. Currently only the basic counting interface is exported, it allows to: - create cpu/threads maps - create evlist/evsel objects - add evsel

[PATCH 01/79] perf tools: Move loaded out of struct perf_counts_values

2019-07-21 Thread Jiri Olsa
Because we will make struct perf_counts_values public in following patches and 'loaded' is implementation related. No functional change is expected. Link: http://lkml.kernel.org/n/tip-418j9zovp8k4t71dqkng6...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/builtin-stat.c | 4 ++--

[PATCH] fs/omfs: make use of kmemdup

2019-07-21 Thread Hariprasad Kelam
kmalloc + memcpy can be replaced with kmemdup. fix below issue reported by coccicheck ./fs/omfs/inode.c:366:9-16: WARNING opportunity for kmemdup Signed-off-by: Hariprasad Kelam --- fs/omfs/inode.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/omfs/inode.c

[PATCH] iio: sca3000: Fix a typo

2019-07-21 Thread Christophe JAILLET
All #define are about SCA3000_... except the last one. Make it consistent. s/SAC3000/SCA3000/ This #define is apparently unused up to now. Signed-off-by: Christophe JAILLET --- drivers/iio/accel/sca3000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] iio: light: apds9960: Fix a typo

2019-07-21 Thread Christophe JAILLET
s/ADPS9960/APDS9960/ (P and D switched) Signed-off-by: Christophe JAILLET --- drivers/iio/light/apds9960.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c index b09b8b60bd83..c5dfb9a6b5a1 100644 ---

[PATCH] jfs: Change return type of txLog

2019-07-21 Thread Hariprasad Kelam
As txLog always returns 0 change return type from int to void. fix below issue reported by coccicheck /fs/jfs/jfs_txnmgr.c:1370:5-7: Unneeded variable: "rc". Return "0" on line 1417 Signed-off-by: Hariprasad Kelam --- fs/jfs/jfs_txnmgr.c | 12 1 file changed, 4 insertions(+), 8

Hospedagem de site - R$ 2,99 por mês

2019-07-21 Thread Hospedagem de sites
Veja nossas opções de hospedagem e outros serviços: - Sobek Host 01 5 Domí­nios 5.000 GB Espaço em SSD Ilimitado Tráfego cPanel Painel de Controle Ilimitadas Contas de E-mail Ilimitadas Base de Dados Grátis Certificado SSL Garantia de Uptime

[PATCH] tipc: Fix a typo

2019-07-21 Thread Christophe JAILLET
s/tipc_toprsv_listener_data_ready/tipc_topsrv_listener_data_ready/ (r and s switched in topsrv) Signed-off-by: Christophe JAILLET --- The function name could also be removed from the comment. It does not bring any useful information IMHO. --- net/tipc/topsrv.c | 2 +- 1 file changed, 1

Re: [PATCH 3/3] mt76: mt7615: add cwmin/cwmax initial values

2019-07-21 Thread Kalle Valo
Ryder Lee writes: > Add initial values in mt7615_mcu_set_wmm() to cleanup setup flow. > > Signed-off-by: Ryder Lee [...] > -#define WMM_AIFS_SET BIT(0) > -#define WMM_CW_MIN_SET BIT(1) > -#define WMM_CW_MAX_SET BIT(2) > -#define WMM_TXOP_SET BIT(3) > +#define WMM_PARAM_SET

Re: [PATCH 01/10] drm/mxsfb: Update mxsfb to support a bridge

2019-07-21 Thread Guido Günther
Hi Robert, On Wed, Jun 26, 2019 at 04:32:09PM +0300, Robert Chiras wrote: > Currently, the MXSFB DRM driver only supports a panel. But, its output > display signal can also be redirected to another encoder, like a DSI > controller. In this case, that DSI controller may act like a drm_bridge. > In

Re: [PATCH 1/3] mt76: fix checkpatch warnings and errors

2019-07-21 Thread Kalle Valo
Ryder Lee writes: > Fix warnings and errors as much as possible. > > Signed-off-by: Ryder Lee > --- > drivers/net/wireless/mediatek/mt76/agg-rx.c | 21 + > drivers/net/wireless/mediatek/mt76/dma.c | 2 +- > drivers/net/wireless/mediatek/mt76/mac80211.c | 30 ++-- >

[PATCH] ALSA: line6: Fix a typo

2019-07-21 Thread Christophe JAILLET
s/Vairax/Variax/ Signed-off-by: Christophe JAILLET --- sound/usb/line6/variax.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/usb/line6/variax.c b/sound/usb/line6/variax.c index 0d24c72c155f..ed158f04de80 100644 --- a/sound/usb/line6/variax.c +++

Re: [PATCH] staging/wlan-ng: Fixing "line over 80 characters" warnings.

2019-07-21 Thread Hennie Muller
On Sun, Jul 21, 2019 at 11:29:19AM +0200, Greg Kroah-Hartman wrote: > On Sun, Jul 21, 2019 at 11:13:26AM +0200, Hennie Muller wrote: > > Reindent multiline function calls to be tab aligned, instead of open brace > > aligned. This fixes multiple "WARNING: line over 80 characters" generated > > by

Kernel 4.19.42 and newer have broke my Bluetooth keyboard/mouse support

2019-07-21 Thread CIJOML CIJOMLovic
Hello guys, I own a very old Logitech diNovo media set with Keyboard, Mouse MX1000 for Bluetooth and Mediapad. Since 4.19.41 I was able to use it without problem, but kernel 4.19.42 introduced two patches which one of them problably broke my Bluetooth setup support. According to the changelog

Re: WARNING in __mmdrop

2019-07-21 Thread Michael S. Tsirkin
On Sat, Jul 20, 2019 at 03:08:00AM -0700, syzbot wrote: > syzbot has bisected this bug to: > > commit 7f466032dc9e5a61217f22ea34b2df932786bbfc > Author: Jason Wang > Date: Fri May 24 08:12:18 2019 + > > vhost: access vq metadata through kernel virtual address > > bisection log:

[PATCH] staging/wlan-ng: Fixing "line over 80 characters" warnings.

2019-07-21 Thread Hennie Muller
Reindent multiline function calls to be tab aligned, instead of open brace aligned. This fixes multiple "WARNING: line over 80 characters" generated by checkpatch. Signed-off-by: Hennie Muller --- drivers/staging/wlan-ng/cfg80211.c| 55 ++--- drivers/staging/wlan-ng/hfa384x_usb.c | 282

[PATCH] percpu: Fix a typo

2019-07-21 Thread Christophe JAILLET
s/perpcu/percpu/ Signed-off-by: Christophe JAILLET --- mm/percpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/percpu.c b/mm/percpu.c index 9821241fdede..febf7c7c888e 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -2220,7 +2220,7 @@ static void

Re: [PATCH] staging/wlan-ng: Fixing "line over 80 characters" warnings.

2019-07-21 Thread Greg Kroah-Hartman
On Sun, Jul 21, 2019 at 11:13:26AM +0200, Hennie Muller wrote: > Reindent multiline function calls to be tab aligned, instead of open brace > aligned. This fixes multiple "WARNING: line over 80 characters" generated > by checkpatch. > > Signed-off-by: Hennie Muller > --- >

Re: [PATCH] rat_cs: Remove duplicate code

2019-07-21 Thread Stefano Brivio
On Sat, 20 Jul 2019 23:16:47 +0530 Hariprasad Kelam wrote: > Code is same if translate is true/false in case invalid packet is > received.So remove else part. > > Issue identified with coccicheck > > Signed-off-by: Hariprasad Kelam > --- > drivers/net/wireless/ray_cs.c | 29

Re: [Question] orphan platform data header

2019-07-21 Thread Arnd Bergmann
On Sun, Jul 21, 2019 at 5:45 AM Masahiro Yamada wrote: > On Sat, Jul 20, 2019 at 10:55 PM Arnd Bergmann wrote: > > On Sat, Jul 20, 2019 at 5:26 AM Masahiro Yamada > > wrote: > > > So, what shall we do? > > > > > > Drop the board-file support? Or, keep it > > > in case somebody is still using

[PATCH] .gitignore: Add compilation database files

2019-07-21 Thread Toru Komatsu
This file is used by clangd to use language server protocol. It can be generated at each compile using scripts/gen_compile_commands.py. Therefore it is different depending on the environment and should be ignored. Signed-off-by: Toru Komatsu --- .gitignore | 3 +++ 1 file changed, 3

[PATCH v2] Input: applespi: fix warnings detected by sparse

2019-07-21 Thread Ronald Tschalär
Reported-by: kbuild test robot Signed-off-by: Ronald Tschalär --- Changes in v2: replaced min_t/max_t with plain min/max since both arguments are now int's and don't need further casting drivers/input/keyboard/applespi.c | 18 +++--- 1 file changed, 11 insertions(+), 7

Re: [PATCH 2/2] Input: applespi: fix warnings detected by sparse

2019-07-21 Thread Life is hard, and then you die
Hi Dmitry, On Sun, Jul 21, 2019 at 10:24:27AM +0300, Dmitry Torokhov wrote: > On Sun, Jul 21, 2019 at 12:06:29AM -0700, Ronald Tschalär wrote: > > Reported-by: kbuild test robot > > Signed-off-by: Ronald Tschalär > > --- > > drivers/input/keyboard/applespi.c | 18 +++--- > > 1

upstream boot error: WARNING: workqueue cpumask: online intersect > possible intersect

2019-07-21 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:f1a3b43c Merge branch 'for-linus' of git://git.kernel.org/.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1456d34860 kernel config: https://syzkaller.appspot.com/x/.config?x=19dd7cf81d8c8469

Re: [PATCH v2] powerpc: slightly improve cache helpers

2019-07-21 Thread Nathan Chancellor
On Fri, Jul 19, 2019 at 09:04:55AM -0700, Nathan Chancellor wrote: > On Fri, Jul 19, 2019 at 10:23:03AM -0500, Segher Boessenkool wrote: > > On Thu, Jul 18, 2019 at 08:24:56PM -0700, Nathan Chancellor wrote: > > > On Mon, Jul 08, 2019 at 11:49:52PM -0700, Nathan Chancellor wrote: > > > > On Tue,

Re: [PATCH 2/2] Input: applespi: fix warnings detected by sparse

2019-07-21 Thread Dmitry Torokhov
On Sun, Jul 21, 2019 at 12:06:29AM -0700, Ronald Tschalär wrote: > Reported-by: kbuild test robot > Signed-off-by: Ronald Tschalär > --- > drivers/input/keyboard/applespi.c | 18 +++--- > 1 file changed, 11 insertions(+), 7 deletions(-) > > diff --git

[PATCH 2/2] Input: applespi: fix warnings detected by sparse

2019-07-21 Thread Ronald Tschalär
Reported-by: kbuild test robot Signed-off-by: Ronald Tschalär --- drivers/input/keyboard/applespi.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/drivers/input/keyboard/applespi.c b/drivers/input/keyboard/applespi.c index d5defdefbc34..00cd8dccd4f5

[PATCH v2] Input: applespi - register touchpad device synchronously in probe

2019-07-21 Thread Ronald Tschalär
This allows errors during registration to properly fail the probe function. Doing this requires waiting for a response from the device inside the probe function. While this generally takes about 15ms, in case of errors it could be arbitrarily long, and hence a 3 second timeout is used. This also

Re: Is Linux Kernel 5.2.1 able to support Intel Core i9-9980XE Extreme Edition or AMD Ryzen 9 3950X?

2019-07-21 Thread Pavel Machek
On Thu 2019-07-18 16:49:46, Turritopsis Dohrnii Teo En Ming wrote: > Good morning from Singapore, > > Is Linux Kernel 5.2.1 able to support Intel Core i9-9980XE Extreme Edition or > AMD Ryzen 9 3950X? > > Intel Core i9-9980XE Extreme Edition has 18 cores and 36 threads while AMD > Ryzen 9

[PATCH] allocate_flower_entry: should check for null deref

2019-07-21 Thread Navid Emamdoost
allocate_flower_entry does not check for allocation success, but tries to deref the result. I only moved the spin_lock under null check, because the caller is checking allocation's status at line 652. Signed-off-by: Navid Emamdoost --- drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 3

<    1   2   3   4