Alexey Kardashevskiy <a...@ozlabs.ru> writes: > Hi! > > checkpatch.pl often complains on things like this: > > === > ERROR: need consistent spacing around '*' (ctx:WxV) > #57: FILE: hw/misc/vfio.c:4323: > +int vfio_container_ioctl(AddressSpace *as, int32_t groupid, > ^ > > total: 1 errors, 0 warnings, 46 lines checked > === > > Since perl is a write-only language, I cannot understand why :) Any clue?
It misinterprets the '*' as infix operator, because it doesn't recognize 'AddressSpace *as' is a declaration. Sorry, this isn't much of a clue, but you didn't provide much of a reproducer.