linux-bl808/drivers/platform/surface/aggregator
Maximilian Luz 37ed76a745 platform/surface: aggregator: Do not return uninitialized value
The status variable in ssam_nf_refcount_disable_free() is only set when
the reference count equals zero. Otherwise, it is returned
uninitialized. Fix this by always initializing status to zero.

Reported-by: kernel test robot <lkp@intel.com>
Fixes: 640ee17199e4 ("platform/surface: aggregator: Allow enabling of events without notifiers")
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20210604210907.25738-2-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-06-16 17:47:54 +02:00
..
bus.c platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
bus.h platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
controller.c platform/surface: aggregator: Do not return uninitialized value 2021-06-16 17:47:54 +02:00
controller.h platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
core.c platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
Kconfig platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
Makefile platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
ssh_msgb.h platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
ssh_packet_layer.c platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
ssh_packet_layer.h platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
ssh_parser.c platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
ssh_parser.h platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
ssh_request_layer.c platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
ssh_request_layer.h platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00
trace.h platform/surface: aggregator: Update copyright 2021-06-16 17:47:53 +02:00