Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=503fc85a3b15b0e939ad9672e376ffc9c4840591
Commit:     503fc85a3b15b0e939ad9672e376ffc9c4840591
Parent:     b9f09a485937d9c3fb524b2fa140fee1d94856d0
Author:     Takashi Iwai <[EMAIL PROTECTED]>
AuthorDate: Tue Sep 11 00:35:06 2007 +0200
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 16:49:28 2007 +0200

    [ALSA] Kill useless volatile in pcm.h
    
    The volatile prefix is just useless there.  Let's kill them, and then
    gcc will be happier, too.
       sound/acore/pcm.c:867: warning: passing argument 1 of 
‘__constant_c_and_count_memset’ discards qualifiers from pointer target type
    
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
---
 include/sound/pcm.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index 76b34b5..805d720 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -301,8 +301,8 @@ struct snd_pcm_runtime {
        union snd_pcm_sync_id sync;     /* hardware synchronization ID */
 
        /* -- mmap -- */
-       volatile struct snd_pcm_mmap_status *status;
-       volatile struct snd_pcm_mmap_control *control;
+       struct snd_pcm_mmap_status *status;
+       struct snd_pcm_mmap_control *control;
 
        /* -- locking / scheduling -- */
        wait_queue_head_t sleep;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to