diff options
author | Yu Liao <liaoyu15@huawei.com> | 2023-08-02 10:26:49 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-08-02 09:27:39 +0200 |
commit | d28dc3d87fe298d0bd83c33738c0c09a0e4f7bdb (patch) | |
tree | 4f0599b64ffbf47a00ed31886ae549f92d651408 /LICENSES | |
parent | fbeb1ec85dc6079b44766e225104bfdc8ea9fe6c (diff) |
ALSA: ac97: set variables dev_attr_vendor_id to static
sparse reports
sound/ac97/bus.c:465:1: sparse: sparse: symbol 'dev_attr_vendor_id' was not declared. Should it be static?
This variable is only used in its defining file, so it should be static.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202307242300.Oy0Dp2QI-lkp@intel.com/
Signed-off-by: Yu Liao <liaoyu15@huawei.com>
Link: https://lore.kernel.org/r/20230802022649.2514787-1-liaoyu15@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions