Bug 8929 - Many warnings at compiling the sound core
Summary: Many warnings at compiling the sound core
Status: CLOSED PATCH_ALREADY_AVAILABLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: Sound(ALSA) (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Jaroslav Kysela
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-23 05:41 UTC by Patrick Matthäi
Modified: 2008-02-07 00:09 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.22.5
Subsystem:
Regression: ---
Bisected commit-id:


Attachments
My Kernel config (38.45 KB, application/octet-stream)
2007-08-23 05:42 UTC, Patrick Matthäi
Details

Description Patrick Matthäi 2007-08-23 05:41:43 UTC
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’
Comment 1 Patrick Matthäi 2007-08-23 05:42:16 UTC
Created attachment 12504 [details]
My Kernel config
Comment 2 Natalie Protasevich 2008-02-07 00:09:52 UTC
This problem is probably long gone. I just tried compiling recent git tree with your config and didn't get this error. I think it's safe to close the bug.

Note You need to log in before you can comment on or make changes to this bug.