Changeset 123


Ignore:
Timestamp:
Jun 10, 2007, 12:23:46 AM (18 years ago)
Author:
Brendan Oakley
Message:

Fixes for previous change. Misc warning fixes.

Location:
GPL/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/core/control.c

    r118 r123  
    957957}
    958958
    959 #if 0 /* Uniaud: Not used until Alsa version 1.0.9 */
    960 static int snd_ctl_elem_add_user(struct snd_ctl_file *file,
    961                                  struct snd_ctl_elem_info __user *_info, int replace)
    962 {
    963         struct snd_ctl_elem_info info;
    964         if (copy_from_user(&info, _info, sizeof(info)))
    965                 return -EFAULT;
    966         return snd_ctl_elem_add(file, &info, replace);
    967 }
    968 #endif /* Uniaud */
    969 
    970959static int snd_ctl_elem_remove(struct snd_ctl_file *file, struct snd_ctl_elem_id *_id)
    971960{
  • GPL/trunk/alsa-kernel/core/info.c

    r119 r123  
    2828#include <linux/devfs_fs_kernel.h>
    2929#endif
    30 
    31 #define min(x,y) (x < y ? x : y )
    3230
    3331/*
  • GPL/trunk/alsa-kernel/core/misc.c

    r111 r123  
    575575}
    576576
    577 static int xworker_thread(void *data)
    578 {
    579         struct workqueue_struct *wq = data;
    580 
    581         strcpy(current->comm, wq->name); /* FIXME: different names? */
    582 
    583         do {
    584             run_workqueue(wq);
    585 #if 0
    586             wait_event_interruptible(wq->more_work, !list_empty(&wq->worklist));
    587 #endif
    588         } while (!signal_pending(current));
    589 #if 0
    590         complete_and_exit(&wq->thread_exited, 0);
    591 #endif
    592 }
    593 
    594577struct workqueue_struct *create_workqueue(const char *name)
    595578{
  • GPL/trunk/alsa-kernel/include/sound/driver.h

    r86 r123  
    568568int snd_device_register(struct snd_card *card, void *device_data);
    569569int snd_device_register_all(struct snd_card *card);
     570int snd_device_disconnect_all(struct snd_card *card);
    570571int snd_device_free(struct snd_card *card, void *device_data);
    571572int snd_device_free_all(struct snd_card *card, snd_device_cmd_t cmd);
  • GPL/trunk/include/linux/kernel.h

    r122 r123  
    1010#ifdef __KERNEL__
    1111
     12#include <stdlib.h>
    1213#include <stdarg.h>
    1314//#include <linux/linkage.h>
Note: See TracChangeset for help on using the changeset viewer.