Bug 143294

Summary: dsp_spos_scb_lib.c: dodgy code
Product: [openSUSE] SUSE LINUX 10.0 Reporter: David Binderman <dcb314>
Component: KernelAssignee: E-mail List <kernel-maintainers>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: SUSE Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2006-01-15 21:52:29 UTC
I just tried to compile kernel 2.6.15.1 with the Intel C compiler. 

It said

sound/pci/cs46xx/dsp_spos_scb_lib.c(673): warning #187: use of "=" where "==" may have been intended

The source code is

           snd_assert (rate = 48000);

I agree with the compiler. Suggest new code

           snd_assert (rate == 48000);

Also, the email address of the author [ twoller@crystal.cirrus.com ]
seems to be broken.
Comment 1 Greg Kroah-Hartman 2006-01-15 23:33:27 UTC
Please report this to bugzilla.kernel.org, as it is a upstream issue.