21/01/2022 10:16, Akhil Goyal:
> > Note: this mistake is warned by the script devtools/checkpatches.sh
> > Warning in drivers/crypto/cnxk/cnxk_cryptodev_ops.c:
> > Using %l format, prefer %PRI*64 if type is [u]int64_t
> I believe there is something wrong in the reporting;
> it said 1 warning which is for spell check of head
> and in the end a line is added for another warning.
> I skipped this issue as it was a false positive for spelling. Did not see the
> last line.
>
> WARNING:TYPO_SPELLING: 'tHead' may be misspelled - perhaps 'thread'?
> #157: FILE: drivers/crypto/cnxk/cnxk_cryptodev_ops.c:718:
> + plt_print(" Head: %ld", pend_q->head);
>
> total: 0 errors, 1 warnings, 84 lines checked
> ^^^^^^^^^^
> Warning in drivers/crypto/cnxk/cnxk_cryptodev_ops.c:
> Using %l format, prefer %PRI*64 if type is [u]int64_t
That's because they are 2 different checks.
The first total is from checkpatch.pl.