Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] zoran: Don't print proc_dir_entry data in debug [RFC]

Don't print proc_dir_entry data in debug as we're soon to have no direct
access to the contents of the PDE. Print what was put in there instead.

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

David Howells and committed by
Mauro Carvalho Chehab
bebe3c69 16b196e5

+1 -1
+1 -1
drivers/media/pci/zoran/zoran_procfs.c
··· 201 201 dprintk(2, 202 202 KERN_INFO 203 203 "%s: procfs entry /proc/%s allocated. data=%p\n", 204 - ZR_DEVNAME(zr), name, zr->zoran_proc->data); 204 + ZR_DEVNAME(zr), name, zr); 205 205 } else { 206 206 dprintk(1, KERN_ERR "%s: Unable to initialise /proc/%s\n", 207 207 ZR_DEVNAME(zr), name);