patch-2.4.17 linux/fs/intermezzo/psdev.c
Next file: linux/fs/jbd/commit.c
Previous file: linux/fs/intermezzo/journal.c
Back to the patch index
Back to the overall index
- Lines: 74
- Date:
Fri Dec 21 16:40:32 2001
- Orig file:
linux-2.4.16/fs/intermezzo/psdev.c
- Orig date:
Sun Nov 11 18:20:21 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/fs/intermezzo/psdev.c linux/fs/intermezzo/psdev.c
@@ -176,7 +176,7 @@
/* move data into response buffer. */
if (req->rq_bufsize < count) {
- printk("psdev_write: too much cnt: %d, cnt: %d, "
+ printk("psdev_write: too much cnt: %d, cnt: %Zd, "
"opc: %d, uniq: %d.\n",
req->rq_bufsize, count, hdr.opcode, hdr.unique);
count = req->rq_bufsize; /* don't have more space! */
@@ -209,7 +209,7 @@
__FUNCTION__, kdevname(dev));
}
- CDEBUG(D_PSDEV, "count %d\n", count);
+ CDEBUG(D_PSDEV, "count %Zd\n", count);
if (list_empty(&(upccom->uc_pending))) {
CDEBUG(D_UPCALL, "Empty pending list in read, not good\n");
return -EINVAL;
@@ -228,7 +228,7 @@
}
if (count < req->rq_bufsize) {
- printk ("psdev_read: buffer too small, read %d of %d bytes\n",
+ printk ("psdev_read: buffer too small, read %Zd of %d bytes\n",
count, req->rq_bufsize);
}
@@ -281,7 +281,7 @@
error = copy_from_user(&readmount, (void *)arg,
sizeof(readmount));
if ( error ) {
- printk("psdev: can't copy %d bytes from %p to %p\n",
+ printk("psdev: can't copy %Zd bytes from %p to %p\n",
sizeof(readmount), (struct readmount *) arg,
&readmount);
EXIT;
@@ -469,7 +469,7 @@
input.size = size;
upccom->uc_pid = saved_pid;
- CDEBUG(D_PSDEV, "get_kmlsize: size = %d\n", size);
+ CDEBUG(D_PSDEV, "get_kmlsize: size = %Zd\n", size);
EXIT;
return copy_to_user((char *)arg, &input, sizeof(input));
@@ -621,7 +621,7 @@
error = copy_from_user(&kopt, (void *)arg, sizeof(kopt));
if ( error ) {
- printk("psdev: can't copyin %d bytes from %p to %p\n",
+ printk("psdev: can't copyin %Zd bytes from %p to %p\n",
sizeof(kopt), (struct kopt *) arg, &kopt);
EXIT;
return error;
@@ -1244,7 +1244,7 @@
default:
CDEBUG(D_PSDEV, "bad ioctl 0x%x, \n", cmd);
- CDEBUG(D_PSDEV, "valid are 0x%x - 0x%x, 0x%x - 0x%x \n",
+ CDEBUG(D_PSDEV, "valid are 0x%Zx - 0x%Zx, 0x%Zx - 0x%Zx \n",
PRESTO_GETMOUNT, PRESTO_GET_KMLSIZE,
PRESTO_VFS_SETATTR, PRESTO_VFS_IOPEN);
EXIT;
@@ -1571,8 +1571,8 @@
req->rq_opcode, jiffies - req->rq_posttime,
req->rq_unique, req->rq_rep_size);
CDEBUG(D_UPCALL,
- "..process %d woken up by Lento for req at 0x%x, data at %x\n",
- current->pid, (int)req, (int)req->rq_data);
+ "..process %d woken up by Lento for req at 0x%p, data at %p\n",
+ current->pid, req, req->rq_data);
if (upc_commp->uc_pid) { /* i.e. Lento is still alive */
/* Op went through, interrupt or not we go on */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)