o ps2esdi: fixups after header file cleanups

Also fix a printk usage.
parent 09162c58
...@@ -37,14 +37,13 @@ ...@@ -37,14 +37,13 @@
#define DEVICE_NR(device) (minor(device) >> 6) #define DEVICE_NR(device) (minor(device) >> 6)
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/sched.h> #include <linux/wait.h>
#include <linux/mm.h> #include <linux/interrupt.h>
#include <linux/fs.h> #include <linux/fs.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/genhd.h> #include <linux/genhd.h>
#include <linux/ps2esdi.h> #include <linux/ps2esdi.h>
#include <linux/blk.h> #include <linux/blk.h>
#include <linux/blkpg.h>
#include <linux/mca.h> #include <linux/mca.h>
#include <linux/init.h> #include <linux/init.h>
#include <linux/ioport.h> #include <linux/ioport.h>
...@@ -508,7 +507,7 @@ static void do_ps2esdi_request(request_queue_t * q) ...@@ -508,7 +507,7 @@ static void do_ps2esdi_request(request_queue_t * q)
} }
if (req->sector+req->current_nr_sectors > get_capacity(req->rq_disk)) { if (req->sector+req->current_nr_sectors > get_capacity(req->rq_disk)) {
printk("Grrr. error. ps2esdi_drives: %d, %lu %llu\n", printk("Grrr. error. ps2esdi_drives: %d, %llu %llu\n",
ps2esdi_drives, req->sector, ps2esdi_drives, req->sector,
(unsigned long long)get_capacity(req->rq_disk)); (unsigned long long)get_capacity(req->rq_disk));
end_request(req, FAIL); end_request(req, FAIL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment