[Bugme-new] [Bug 8929] New: Many warnings at compiling the sound core

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Thu Aug 23 05:34:14 PDT 2007


http://bugzilla.kernel.org/show_bug.cgi?id=8929

           Summary: Many warnings at compiling the sound core
           Product: Drivers
           Version: 2.5
     KernelVersion: 2.6.22.5
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Sound(ALSA)
        AssignedTo: perex at perex.cz
        ReportedBy: patrick.matthaei at web.de


Distribution: Debian Sid
Hardware Environment: 32 bit System, Terratec Aureon 5.1 Fun
Software Environment: GCC 4.2.1
Problem Description:

I get following warnings at compiling the soundcore:


sound/core/pcm.c: In function ‘snd_pcm_attach_substream’:
sound/core/pcm.c:867: warning: passing argument 1 of
‘__constant_c_and_count_memset’ discards qualifiers from pointer target
type
sound/core/pcm.c:867: warning: passing argument 1 of ‘__constant_c_memset’
discards qualifiers from pointer target type
sound/core/pcm.c:877: warning: passing argument 1 of
‘__constant_c_and_count_memset’ discards qualifiers from pointer target
type
sound/core/pcm.c:877: warning: passing argument 1 of ‘__constant_c_memset’
discards qualifiers from pointer target type
  CC [M]  sound/core/pcm_native.o
include/sound/pcm.h: In function ‘hw_param_interval_c’:
include/sound/pcm.h:800: warning: passing argument 1 of ‘hw_param_interval’
discards qualifiers from pointer target type
  CC [M]  sound/core/pcm_lib.o
include/sound/pcm.h: In function ‘hw_param_mask_c’:
include/sound/pcm.h:794: warning: passing argument 1 of ‘hw_param_mask’
discards qualifiers from pointer target type
include/sound/pcm.h: In function ‘hw_param_interval_c’:
include/sound/pcm.h:800: warning: passing argument 1 of ‘hw_param_interval’
discards qualifiers from pointer target type
  CC [M]  sound/core/pcm_timer.o
  CC [M]  sound/core/pcm_misc.o
  CC [M]  sound/core/pcm_memory.o
  CC [M]  sound/core/rawmidi.o
  CC [M]  sound/core/rtctimer.o
  CC [M]  sound/core/timer.o
  CC [M]  sound/core/sound.o
  CC [M]  sound/core/init.o
sound/core/init.c: In function ‘snd_card_disconnect’:
sound/core/init.c:307: warning: the address of ‘snd_shutdown_f_ops’ will
always evaluate as ‘true’


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the Bugme-new mailing list