On 2022/12/1 20:58, Jason Gunthorpe wrote:
It is not really "empty line" it is that the last character in the file should be '\n', and all files are like that.
Hi Jason, Thanks for your explanation. I think my latest patch has added an "empty line", right? diff --git a/pyverbs/libibverbs_enums.pxd b/pyverbs/libibverbs_enums.pxd index 6a875fdd..c78a2284 100644 --- a/pyverbs/libibverbs_enums.pxd +++ b/pyverbs/libibverbs_enums.pxd ... @@ -507,4 +510,4 @@ cdef extern from "<infiniband/tm_types.h>": IBV_TMH_NO_TAG IBV_TMH_RNDV IBV_TMH_FIN - IBV_TMH_EAGER \ No newline at end of file + IBV_TMH_EAGER # cat -A pyverbs/libibverbs_enums.pxd | tail -2 IBV_TMH_FIN$ IBV_TMH_EAGER$ Best Regards, Xiao Yang
Jason