Changeset 639
- Timestamp:
- Jan 8, 2021, 12:31:24 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/core/init.c
r629 r639 423 423 424 424 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); 426 426 } 427 427 spin_unlock(&card->files_lock); … … 908 908 * Return: Zero otherwise a negative error code. 909 909 */ 910 910 911 911 int snd_component_add(struct snd_card *card, const char *component) 912 912 { -
GPL/branches/uniaud32-next/alsa-kernel/core/seq/seq_clientmgr.c
r615 r639 29 29 30 30 * this module handles the connections of userland and kernel clients 31 * 31 * 32 32 */ 33 33 … … 411 411 return -ENXIO; 412 412 413 if (!access_ok( buf, count))413 if (!access_ok(0, buf, count)) 414 414 return -EFAULT; 415 415 … … 526 526 * encapsulated in SNDRV_SEQ_EVENT_BOUNCE as variable length event. If 527 527 * the original event is also variable length, the external data is 528 * copied after the event record. 528 * copied after the event record. 529 529 * If the receiver client is a kernel client, the original event is 530 530 * quoted in SNDRV_SEQ_EVENT_KERNEL_ERROR, since this requires no extra … … 713 713 714 714 715 #ifdef SUPPORT_BROADCAST 715 #ifdef SUPPORT_BROADCAST 716 716 /* 717 717 * broadcast to all ports: … … 1037 1037 repeat: 1038 1038 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 */ 1040 1040 mutex_lock(&client->ioctl_mutex); 1041 1041 if (client->pool->size > 0 && !snd_seq_write_pool_allocated(client)) { … … 1289 1289 1290 1290 1291 /* 1292 * CREATE PORT ioctl() 1291 /* 1292 * CREATE PORT ioctl() 1293 1293 */ 1294 1294 static int snd_seq_ioctl_create_port(struct snd_seq_client *client, void *arg) … … 1336 1336 } 1337 1337 1338 /* 1339 * DELETE PORT ioctl() 1338 /* 1339 * DELETE PORT ioctl() 1340 1340 */ 1341 1341 static int snd_seq_ioctl_delete_port(struct snd_seq_client *client, void *arg) … … 1355 1355 1356 1356 1357 /* 1358 * GET_PORT_INFO ioctl() (on any client) 1357 /* 1358 * GET_PORT_INFO ioctl() (on any client) 1359 1359 */ 1360 1360 static int snd_seq_ioctl_get_port_info(struct snd_seq_client *client, void *arg) … … 1383 1383 1384 1384 1385 /* 1386 * SET_PORT_INFO ioctl() (only ports on this/own client) 1385 /* 1386 * SET_PORT_INFO ioctl() (only ports on this/own client) 1387 1387 */ 1388 1388 static int snd_seq_ioctl_set_port_info(struct snd_seq_client *client, void *arg) … … 1457 1457 1458 1458 1459 /* 1460 * add to port's subscription list IOCTL interface 1459 /* 1460 * add to port's subscription list IOCTL interface 1461 1461 */ 1462 1462 static int snd_seq_ioctl_subscribe_port(struct snd_seq_client *client, … … 1499 1499 1500 1500 1501 /* 1502 * remove from port's subscription list 1501 /* 1502 * remove from port's subscription list 1503 1503 */ 1504 1504 static int snd_seq_ioctl_unsubscribe_port(struct snd_seq_client *client, … … 2035 2035 } 2036 2036 2037 /* 2037 /* 2038 2038 * query next port 2039 2039 */ … … 2304 2304 EXPORT_SYMBOL(snd_seq_kernel_client_enqueue); 2305 2305 2306 /* 2306 /* 2307 2307 * exported, called by kernel clients to dispatch events directly to other 2308 2308 * clients, bypassing the queues. Event time-stamp will be updated. … … 2456 2456 2457 2457 /* exported to seq_info.c */ 2458 void snd_seq_info_clients_read(struct snd_info_entry *entry, 2458 void snd_seq_info_clients_read(struct snd_info_entry *entry, 2459 2459 struct snd_info_buffer *buffer) 2460 2460 { … … 2522 2522 static struct device seq_dev; 2523 2523 2524 /* 2525 * register sequencer device 2524 /* 2525 * register sequencer device 2526 2526 */ 2527 2527 int __init snd_sequencer_device_init(void) … … 2546 2546 2547 2547 2548 /* 2549 * unregister sequencer device 2548 /* 2549 * unregister sequencer device 2550 2550 */ 2551 2551 void snd_sequencer_device_done(void) -
GPL/branches/uniaud32-next/include/asm/uaccess.h
r615 r639 44 44 int is_access_ok(int type, void *addr, unsigned long size); 45 45 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)) 47 47 48 48 /* -
GPL/branches/uniaud32-next/lib32/bitmap.c
r615 r639 1173 1173 EXPORT_SYMBOL(bitmap_allocate_region); 1174 1174 1175 #pragma disable_message (201) 1175 1176 /** 1176 1177 * bitmap_copy_le - copy a bitmap, putting the bits into little-endian order. -
GPL/branches/uniaud32-next/lib32/misc.c
r638 r639 741 741 { 742 742 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; 744 745 return 0; 745 746 }
Note:
See TracChangeset
for help on using the changeset viewer.