summaryrefslogtreecommitdiff
path: root/include/sound/hda_chmap.h
diff options
context:
space:
mode:
authorMaximilian Luz <luzmaximilian@gmail.com>2021-06-04 23:09:06 +0200
committerHans de Goede <hdegoede@redhat.com>2021-06-16 17:47:54 +0200
commit37ed76a745b099565b4ae7915f0441b1316bf108 (patch)
treef7f2222734d2f1c1651a2e0b74466208bfcbb71a /include/sound/hda_chmap.h
parent8ae200547aa9dbb1001c22325d251b825113bdb3 (diff)
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>
Diffstat (limited to 'include/sound/hda_chmap.h')
0 files changed, 0 insertions, 0 deletions