patch-2.1.81 linux/drivers/sound/soundcard.c
Next file: linux/fs/dcache.c
Previous file: linux/drivers/sound/gus_wave.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Thu Jan 22 14:46:41 1998
- Orig file:
v2.1.80/linux/drivers/sound/soundcard.c
- Orig date:
Tue Jan 20 16:44:57 1998
diff -u --recursive --new-file v2.1.80/linux/drivers/sound/soundcard.c linux/drivers/sound/soundcard.c
@@ -1101,8 +1101,7 @@
dmap->buffsize = PAGE_SIZE * (1 << sz);
- start_addr = (char *) __get_free_pages(GFP_ATOMIC | GFP_DMA, sz);
- if (start_addr == NULL)
+ if ((start_addr = (char *) __get_free_pages(GFP_ATOMIC|GFP_DMA, sz)) == NULL)
dmap->buffsize /= 2;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov