Age | Commit message (Collapse) | Author |
|
The checkpatch ignore option is ARRAY_SIZE, not
PREFER_ARRAY_SIZE. Also, PREFER_PRINTF and PREFER_SCANF don't exist
anymore, remove those.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Nowadays, checkpatch allows by default C99 comments (//).
Disable C99 comment tolerance as ODP project has never
allowed those.
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Ignore warnings about preferred usage of non-standard ARRAY_SIZE() macro.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Without this ignore checkpatch warns about mentioning checkpatch in the
commit subject line.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Allow string lines longer than max line length. Remove now unnecessary
modifications to the checkpatch file.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Ignore prefer 'fallthrough;' over fallthrough comment warning.
'fallthrough' is defined by a kernel header.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Update checkpatch script to the latest version (571d54ed9).
Major changes:
- Max line length has been increased to 100
- New warning about missing commit description
- New warning about preferring 'fallthrough;' over fallthrough comment
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Update checkpatch script to the latest version
(2d453e3b41c80d1a2c02b02d672f5dcd73f95a12). Ignores some new unnecessary
checks. PRIu8 and PRIu16 camel case warnings are also ignored.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
These warnings were disabled with code modification. Use
checkpatch config file to ignore those.
Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
This is not the kernel, ignore these preferences
Signed-off-by: Yi He <yi.he@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
This is not the kernel, ignore this recommendation
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
ODP does not have a BIT MACRO, ignore warnings such as
CHECK: Prefer using the BIT macro
platform/linux-generic/include/odp_packet_io_ring_internal.h:158:
+#define _RING_F_SP_ENQ (1 << 0)
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Allow comparison to NULL since ODP API calls may return NULL
and test applications should be able to compare against that,
instead of forced to compare against 0 (!ptr).
Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
ODP has proven a need to accommodate strings that cannot be accommodated on
an 80 character line. Allow spilt strings as the preferred way of
solving the issue so that check patch rules do not make code
submission impossible. Do this in a way that does not require merging
local changes to check patch when updating to a new upstream version.
https://bugs.linaro.org/show_bug.cgi?id=1746
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
|
|
Turn on spelling checks with codespell tool.
Tool can be installed with apt-get install codespell.
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Mike Holmes <mike.holmes@linaro.org>
|
|
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
|
|
since we are in the process of defining new typedefs.
Signed-off-by: Kim Phillips <kim.phillips@linaro.org>
|