The patch titled dev_dbg: check dev_dbg() arguments has been added to the -mm tree. Its filename is dev_dbg-check-dev_dbg-arguments.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: dev_dbg: check dev_dbg() arguments From: Dan Williams <dan.j.williams@xxxxxxxxx> Duplicate what Zach Brown did for pr_debug in commit 8b2a1fd1b394c60eaa2587716102dd5e9b4e5990 Signed-off-by: Dan Williams <dan.j.williams@xxxxxxxxx> Cc: Greg KH <greg@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/device.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff -puN include/linux/device.h~dev_dbg-check-dev_dbg-arguments include/linux/device.h --- a/include/linux/device.h~dev_dbg-check-dev_dbg-arguments +++ a/include/linux/device.h @@ -571,7 +571,11 @@ extern const char *dev_driver_string(str #define dev_dbg(dev, format, arg...) \ dev_printk(KERN_DEBUG , dev , format , ## arg) #else -#define dev_dbg(dev, format, arg...) do { (void)(dev); } while (0) +static inline int __attribute__ ((format (printf, 2, 3))) +dev_dbg(struct device * dev, const char * fmt, ...) +{ + return 0; +} #endif #define dev_err(dev, format, arg...) \ _ Patches currently in -mm which might be from dan.j.williams@xxxxxxxxx are dev_dbg-check-dev_dbg-arguments.patch git-md-accel.patch git-ioat-vs-git-md-accel.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html