From: Frank Haverkamp Date: Fri, 20 Dec 2013 15:26:11 +0000 (+0100) Subject: GenWQE: Replace dynamic_hex_dump with print_hex_dump_debug X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=65861ab458993511b0f908e4501436467a044743;p=linux-beck.git GenWQE: Replace dynamic_hex_dump with print_hex_dump_debug As requested by Greg, replacing the hexdump function from dynamic_debug.h with one defined in printk.h. I hope I picked the right one. Signed-off-by: Frank Haverkamp Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/genwqe/genwqe_driver.h b/drivers/misc/genwqe/genwqe_driver.h index b57538999bf1..46e916b36c70 100644 --- a/drivers/misc/genwqe/genwqe_driver.h +++ b/drivers/misc/genwqe/genwqe_driver.h @@ -31,7 +31,7 @@ #include #include #include -#include +#include #include #include @@ -69,7 +69,9 @@ static inline void genwqe_hexdump(struct pci_dev *pci_dev, scnprintf(prefix, sizeof(prefix), "%s %s: ", GENWQE_DEVNAME, pci_name(pci_dev)); - dynamic_hex_dump(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, size, true); + + print_hex_dump_debug(prefix, DUMP_PREFIX_OFFSET, 16, 1, buff, + size, true); } #endif /* __GENWQE_DRIVER_H__ */