[dpdk-test-report] |WARNING| pw92532 [PATCH v3 20/33] event/cnxk: support event timer

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Apr 30 15:56:53 CEST 2021


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/92532

_coding style issues_


WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#80: 
Add event timer adapter a.k.a TIM initialization on SSO probe.

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#103: FILE: doc/guides/eventdevs/cnxk.rst:38:
+- HW managed event timers support through TIM, with high precision and

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#105: FILE: doc/guides/eventdevs/cnxk.rst:40:
+- Up to 256 TIM rings a.k.a event timer adapters.

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#114: FILE: doc/guides/eventdevs/cnxk.rst:108:
+   | 2 | TIM        | --log-level='pmd\.event\.cnxk\.timer,8'               |

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#124: FILE: drivers/event/cnxk/cnxk_eventdev.c:585:
+	cnxk_tim_init(&dev->sso);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#133: FILE: drivers/event/cnxk/cnxk_eventdev.c:603:
+	cnxk_tim_fini();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#145: FILE: drivers/event/cnxk/cnxk_eventdev.h:17:
+#include "cnxk_tim_evdev.h"

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#161: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:6:
+#include "cnxk_tim_evdev.h"

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#164: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:9:
+cnxk_tim_init(struct roc_sso *sso)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#167: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:12:
+	struct cnxk_tim_evdev *dev;

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#173: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:18:
+	mz = rte_memzone_reserve(RTE_STR(CNXK_TIM_EVDEV_NAME),

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#174: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:19:
+				 sizeof(struct cnxk_tim_evdev), 0, 0);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#176: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:21:
+		plt_tim_dbg("Unable to allocate memory for TIM Event device");

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#176: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:21:
+		plt_tim_dbg("Unable to allocate memory for TIM Event device");

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#181: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:26:
+	dev->tim.roc_sso = sso;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#182: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:27:
+	rc = roc_tim_init(&dev->tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#182: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:27:
+	rc = roc_tim_init(&dev->tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#184: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:29:
+		plt_err("Failed to initialize roc tim resources");

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#189: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:34:
+	dev->chunk_sz = CNXK_TIM_RING_DEF_CHUNK_SZ;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#193: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:38:
+cnxk_tim_fini(void)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#195: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:40:
+	struct cnxk_tim_evdev *dev = tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#195: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:40:
+	struct cnxk_tim_evdev *dev = tim_priv_get();

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#200: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:45:
+	roc_tim_fini(&dev->tim);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#200: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:45:
+	roc_tim_fini(&dev->tim);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#201: FILE: drivers/event/cnxk/cnxk_tim_evdev.c:46:
+	rte_memzone_free(rte_memzone_lookup(RTE_STR(CNXK_TIM_EVDEV_NAME)));

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#213: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:5:
+#ifndef __CNXK_TIM_EVDEV_H__

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#214: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:6:
+#define __CNXK_TIM_EVDEV_H__

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#227: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:19:
+#define CNXK_TIM_EVDEV_NAME	   cnxk_tim_eventdev

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#227: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:19:
+#define CNXK_TIM_EVDEV_NAME	   cnxk_tim_eventdev

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#228: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:20:
+#define CNXK_TIM_RING_DEF_CHUNK_SZ (4096)

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#230: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:22:
+struct cnxk_tim_evdev {

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#231: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:23:
+	struct roc_tim tim;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#231: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:23:
+	struct roc_tim tim;

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#237: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:29:
+static inline struct cnxk_tim_evdev *

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#238: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:30:
+tim_priv_get(void)

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#242: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:34:
+	mz = rte_memzone_lookup(RTE_STR(CNXK_TIM_EVDEV_NAME));

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#249: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:41:
+void cnxk_tim_init(struct roc_sso *sso);

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#250: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:42:
+void cnxk_tim_fini(void);

WARNING:TYPO_SPELLING: 'TIM' may be misspelled - perhaps 'TIME'?
#252: FILE: drivers/event/cnxk/cnxk_tim_evdev.h:44:
+#endif /* __CNXK_TIM_EVDEV_H__ */

WARNING:TYPO_SPELLING: 'tim' may be misspelled - perhaps 'time'?
#261: FILE: drivers/event/cnxk/meson.build:18:
+                'cnxk_tim_evdev.c',

total: 0 errors, 40 warnings, 136 lines checked


More information about the test-report mailing list