Changeset 639


Ignore:
Timestamp:
Jan 8, 2021, 12:31:24 AM (5 years ago)
Author:
David Azarewicz
Message:

Fixed more warnings.

Location:
GPL/branches/uniaud32-next
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-next/alsa-kernel/core/init.c

    r629 r639  
    423423
    424424                mfile->file->f_op = &snd_shutdown_f_ops;
    425                 fops_get(mfile->file->f_op);
     425                //DAZ this does nothing. fops_get(mfile->file->f_op);
    426426        }
    427427        spin_unlock(&card->files_lock);
     
    908908 *  Return: Zero otherwise a negative error code.
    909909 */
    910  
     910
    911911int snd_component_add(struct snd_card *card, const char *component)
    912912{
  • GPL/branches/uniaud32-next/alsa-kernel/core/seq/seq_clientmgr.c

    r615 r639  
    2929
    3030 * this module handles the connections of userland and kernel clients
    31  * 
     31 *
    3232 */
    3333
     
    411411                return -ENXIO;
    412412
    413         if (!access_ok(buf, count))
     413        if (!access_ok(0, buf, count))
    414414                return -EFAULT;
    415415
     
    526526 * encapsulated in SNDRV_SEQ_EVENT_BOUNCE as variable length event.  If
    527527 * the original event is also variable length, the external data is
    528  * copied after the event record. 
     528 * copied after the event record.
    529529 * If the receiver client is a kernel client, the original event is
    530530 * quoted in SNDRV_SEQ_EVENT_KERNEL_ERROR, since this requires no extra
     
    713713
    714714
    715 #ifdef SUPPORT_BROADCAST 
     715#ifdef SUPPORT_BROADCAST
    716716/*
    717717 * broadcast to all ports:
     
    10371037 repeat:
    10381038        handled = 0;
    1039         /* allocate the pool now if the pool is not allocated yet */ 
     1039        /* allocate the pool now if the pool is not allocated yet */
    10401040        mutex_lock(&client->ioctl_mutex);
    10411041        if (client->pool->size > 0 && !snd_seq_write_pool_allocated(client)) {
     
    12891289
    12901290
    1291 /* 
    1292  * CREATE PORT ioctl() 
     1291/*
     1292 * CREATE PORT ioctl()
    12931293 */
    12941294static int snd_seq_ioctl_create_port(struct snd_seq_client *client, void *arg)
     
    13361336}
    13371337
    1338 /* 
    1339  * DELETE PORT ioctl() 
     1338/*
     1339 * DELETE PORT ioctl()
    13401340 */
    13411341static int snd_seq_ioctl_delete_port(struct snd_seq_client *client, void *arg)
     
    13551355
    13561356
    1357 /* 
    1358  * GET_PORT_INFO ioctl() (on any client) 
     1357/*
     1358 * GET_PORT_INFO ioctl() (on any client)
    13591359 */
    13601360static int snd_seq_ioctl_get_port_info(struct snd_seq_client *client, void *arg)
     
    13831383
    13841384
    1385 /* 
    1386  * SET_PORT_INFO ioctl() (only ports on this/own client) 
     1385/*
     1386 * SET_PORT_INFO ioctl() (only ports on this/own client)
    13871387 */
    13881388static int snd_seq_ioctl_set_port_info(struct snd_seq_client *client, void *arg)
     
    14571457
    14581458
    1459 /* 
    1460  * add to port's subscription list IOCTL interface 
     1459/*
     1460 * add to port's subscription list IOCTL interface
    14611461 */
    14621462static int snd_seq_ioctl_subscribe_port(struct snd_seq_client *client,
     
    14991499
    15001500
    1501 /* 
    1502  * remove from port's subscription list 
     1501/*
     1502 * remove from port's subscription list
    15031503 */
    15041504static int snd_seq_ioctl_unsubscribe_port(struct snd_seq_client *client,
     
    20352035}
    20362036
    2037 /* 
     2037/*
    20382038 * query next port
    20392039 */
     
    23042304EXPORT_SYMBOL(snd_seq_kernel_client_enqueue);
    23052305
    2306 /* 
     2306/*
    23072307 * exported, called by kernel clients to dispatch events directly to other
    23082308 * clients, bypassing the queues.  Event time-stamp will be updated.
     
    24562456
    24572457/* exported to seq_info.c */
    2458 void snd_seq_info_clients_read(struct snd_info_entry *entry, 
     2458void snd_seq_info_clients_read(struct snd_info_entry *entry,
    24592459                               struct snd_info_buffer *buffer)
    24602460{
     
    25222522static struct device seq_dev;
    25232523
    2524 /* 
    2525  * register sequencer device 
     2524/*
     2525 * register sequencer device
    25262526 */
    25272527int __init snd_sequencer_device_init(void)
     
    25462546
    25472547
    2548 /* 
    2549  * unregister sequencer device 
     2548/*
     2549 * unregister sequencer device
    25502550 */
    25512551void snd_sequencer_device_done(void)
  • GPL/branches/uniaud32-next/include/asm/uaccess.h

    r615 r639  
    4444int is_access_ok(int type, void *addr, unsigned long size);
    4545
    46 #define access_ok(addr, size) __access_ok((unsigned long)(addr),(size))
     46#define access_ok(type, addr, size) __access_ok((unsigned long)(addr),(size))
    4747
    4848/*
  • GPL/branches/uniaud32-next/lib32/bitmap.c

    r615 r639  
    11731173EXPORT_SYMBOL(bitmap_allocate_region);
    11741174
     1175#pragma disable_message (201)
    11751176/**
    11761177 * bitmap_copy_le - copy a bitmap, putting the bits into little-endian order.
  • GPL/branches/uniaud32-next/lib32/misc.c

    r638 r639  
    741741{
    742742        filp->f_mode &= ~(FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE | FMODE_ATOMIC_POS);
    743         filp->f_mode |= FMODE_STREAM;
     743        //DAZ f_mode is 16 bit so FMODE_STREAM doesn't fit, but we don't use this on OS/2.
     744        //filp->f_mode |= FMODE_STREAM;
    744745        return 0;
    745746}
Note: See TracChangeset for help on using the changeset viewer.