[dpdk-dev] [PATCH v2 11/15] net/avp: packet receive functions

Legacy, Allain Allain.Legacy at windriver.com
Wed Mar 1 16:40:17 CET 2017


> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at 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",


More information about the dev mailing list