Re: [EXT] [bug report] octeontx2-af: cn10k: Identical code for different branches

2021-02-13 Thread Geethasowjanya Akula
Bhatta; David S. Miller; >Jakub >Kicinski >Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; Gustavo A. R. Silva >Subject: [EXT] [bug report] octeontx2-af: cn10k: Identical code for different >branches >External Email ---

[bug report] octeontx2-af: cn10k: Identical code for different branches

2021-02-12 Thread Gustavo A. R. Silva
Hi, In file drivers/net/ethernet/marvell/octeontx2/af/rvu_debugfs.c, function rvu_dbg_init() the same code is executed for both branches: 2431 if (is_rvu_otx2(rvu)) 2432 debugfs_create_file("rvu_pf_cgx_map", 0444, rvu->rvu_dbg.root, 2433