This is a series of fixes for ml/cnxk diver. Changes include fixes for coverity scan issues, klocwork issues and additional fixes.
v3: * split fixes into multiple patches * add code improvement changes v2: * additional null pointer checks * xstats memory leak fix v1: * initial consolidated patch Srikanth Yalavarthi (8): ml/cnxk: fix evaluation order violation issues ml/cnxk: fix potential division by zero ml/cnxk: add pointer check after memory allocation ml/cnxk: remove logically dead code ml/cnxk: fix potential memory leak in xstats ml/cnxk: check for null pointer before dereference ml/cnxk: avoid variable name reuse in a function ml/cnxk: reduce levels of nested variables access drivers/ml/cnxk/cn10k_ml_dev.c | 4 +-- drivers/ml/cnxk/cn10k_ml_model.c | 48 +++++++++++++------------- drivers/ml/cnxk/cn10k_ml_ocm.c | 59 +++++++++++++------------------- drivers/ml/cnxk/cn10k_ml_ops.c | 17 +++++++-- 4 files changed, 65 insertions(+), 63 deletions(-) -- 2.17.1