> -----Original Message----- > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > In checkpatch source there is a regex to identify logging functions and > special > exceptions for long lines etc. But the logging functions are for kernel > (printk > etc), not DPDK logging functions so the messages are incorrect. > > Maybe there is some way to extend checkpatch to handle rte_log?
Adding LONG_LINE_STRING helped, but we still get a smaller number of warnings for concatenated strings like this one so it must be a quirk with how they handle those. WARNING:LONG_LINE: line over 80 characters #217: FILE: drivers/net/avp/avp_ethdev.c:326: + PMD_DRV_LOG(DEBUG, "Translating host physical 0x%" PRIx64 " to guest virtual 0x%p\n",