[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <822eda9c-6b1b-8c27-27ee-6f2855a261a5@redhat.com>
Date: Thu, 18 May 2023 07:18:45 -0700
From: Tom Rix <trix@...hat.com>
To: perex@...ex.cz, tiwai@...e.com, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ALSA: emu10k1: set variables emu1010_routing_info and
emu1010_pads_info storage-class-specifier to static
On 5/18/23 6:58 AM, Oswald Buddenhagen wrote:
> On Thu, May 18, 2023 at 08:38:26AM -0400, Tom Rix wrote:
>> smatch reports
> ^^^^^^ is this the best word to use here?
I have been running smatch against the whole tree for a while, using
this preamble.
Many fixes later, for the most part the tree has been cleaned of this
class of problems.
Tom
>
>> sound/pci/emu10k1/emumixer.c:519:39: warning: symbol
>> 'emu1010_routing_info' was not declared. Should it be static?
>> sound/pci/emu10k1/emumixer.c:859:36: warning: symbol
>> 'emu1010_pads_info' was not declared. Should it be static?
>>
>> These variables are only used in their defining file, so it should be
>> static
> ^^ they
>>
>> Signed-off-by: Tom Rix <trix@...hat.com>
>>
> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@....de>
>
> (also amending one of the still pending patches. thanks!)
>
> regards
>
Powered by blists - more mailing lists