This series contain five cleanup patches. There is no real relation between each patch so I will end the cover letter here and let you refer to the short description. * Changelog * v1 -> v2: * patch 2/5: add a note in commit message to explain that slcanpty.c debug is deactivated by default. * patch 2/5: make the compiler check the pr_debug() syntax even if debug is off. * reorder the patches so that the lib.c and the candump.c patches are next to each other in the series. Vincent Mailhol (5): slcanpty: remove redundant asc2nibble() lib: add pr_debug() macro lib: snprintf_can_error_frame: print counter errors if CAN_ERR_CNT is set candump: add global variable progname candump: use linux/net_tstamp.h instead of redefining values ourselves Makefile | 2 ++ canbusload.c | 9 ++--- candump.c | 58 +++++++++++++----------------- canlogserver.c | 12 +++---- lib.c | 4 +++ lib.h | 7 ++++ mcp251xfd/mcp251xfd-dev-coredump.c | 10 +----- slcanpty.c | 27 +++----------- 8 files changed, 51 insertions(+), 78 deletions(-) -- 2.37.4