diff -urN linux-2.5.24/drivers/cdrom/aztcd.c linux/drivers/cdrom/aztcd.c --- linux-2.5.24/drivers/cdrom/aztcd.c 2002-06-21 00:53:56.000000000 +0200 +++ linux/drivers/cdrom/aztcd.c 2002-06-23 20:12:27.000000000 +0200 @@ -2083,12 +2083,12 @@ } azt_state = AZT_S_IDLE; while (current_valid()) - end_request(0); + end_request(CURRENT, 0); return; } /* if (aztSendCmd(ACMD_SET_MODE)) RETURN("azt_poll 3"); - outb(0x01, DATA_PORT); + outb(0x01, DATA_PORT); PA_OK; STEN_LOW; */ @@ -2138,7 +2138,7 @@ } azt_state = AZT_S_IDLE; while (current_valid()) - end_request(0); + end_request(CURRENT, 0); return; } @@ -2236,7 +2236,7 @@ break; } if (current_valid()) - end_request(0); + end_request(CURRENT, 0); AztTries = 5; } azt_state = AZT_S_START; diff -urN linux-2.5.24/drivers/cdrom/sonycd535.c linux/drivers/cdrom/sonycd535.c --- linux-2.5.24/drivers/cdrom/sonycd535.c 2002-06-21 00:53:49.000000000 +0200 +++ linux/drivers/cdrom/sonycd535.c 2002-06-23 20:12:27.000000000 +0200 @@ -805,14 +805,8 @@ Byte cmd[2]; while (1) { - /* - * The beginning here is stolen from the hard disk driver. I hope - * it's right. - */ - if (blk_queue_empty(QUEUE)) { - CLEAR_INTR; + if (blk_queue_empty(QUEUE)) return; - } dev = minor(CURRENT->rq_dev); block = CURRENT->sector; @@ -828,7 +822,6 @@ * If the block address is invalid or the request goes beyond the end of * the media, return an error. */ - if (sony_toc->lead_out_start_lba <= (block / 4)) { end_request(CURRENT, 0); return; diff -urN linux-2.5.24/drivers/net/wireless/airo.c linux/drivers/net/wireless/airo.c --- linux-2.5.24/drivers/net/wireless/airo.c 2002-06-21 00:53:45.000000000 +0200 +++ linux/drivers/net/wireless/airo.c 2002-06-23 18:25:56.000000000 +0200 @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include