uhci-debug.c (05668381140309088443bf5dc53add4104610fbb) uhci-debug.c (8e18e2941c53416aa219708e7dcad21fb4bd6794)
1/*
2 * UHCI-specific debugging code. Invaluable when something
3 * goes wrong, but don't get in my face.
4 *
5 * Kernel visible pointers are surrounded in []s and bus
6 * visible pointers are surrounded in ()s
7 *
8 * (C) Copyright 1999 Linus Torvalds

--- 414 unchanged lines hidden (view full) ---

423
424struct uhci_debug {
425 int size;
426 char *data;
427};
428
429static int uhci_debug_open(struct inode *inode, struct file *file)
430{
1/*
2 * UHCI-specific debugging code. Invaluable when something
3 * goes wrong, but don't get in my face.
4 *
5 * Kernel visible pointers are surrounded in []s and bus
6 * visible pointers are surrounded in ()s
7 *
8 * (C) Copyright 1999 Linus Torvalds

--- 414 unchanged lines hidden (view full) ---

423
424struct uhci_debug {
425 int size;
426 char *data;
427};
428
429static int uhci_debug_open(struct inode *inode, struct file *file)
430{
431 struct uhci_hcd *uhci = inode->u.generic_ip;
431 struct uhci_hcd *uhci = inode->i_private;
432 struct uhci_debug *up;
433 int ret = -ENOMEM;
434 unsigned long flags;
435
436 lock_kernel();
437 up = kmalloc(sizeof(*up), GFP_KERNEL);
438 if (!up)
439 goto out;

--- 91 unchanged lines hidden ---
432 struct uhci_debug *up;
433 int ret = -ENOMEM;
434 unsigned long flags;
435
436 lock_kernel();
437 up = kmalloc(sizeof(*up), GFP_KERNEL);
438 if (!up)
439 goto out;

--- 91 unchanged lines hidden ---