src/dpdk/drivers/net/qede/qede_debug.c
static const char *qed_dbg_get_block_name(struct ecore_hwfn *p_hwfn,
					  enum block_id block_id)
{
	const struct dbg_block_user *block =
	    (const struct dbg_block_user *)
	    p_hwfn->dbg_arrays[BIN_BUF_DBG_BLOCKS_USER_DATA].ptr + block_id;

	return (const char *)block->name;
}
/* Returns the block name that matches the specified block ID,
 * or NULL if not found.
 */
Returns the block name that matches the specified block ID,
or NULL if not found.
Returns the block name that matches the specified block ID or NULL if not found .
static const char *qed_dbg_get_block_name(struct ecore_hwfn *p_hwfn,
					  enum block_id block_id)
{
	const struct dbg_block_user *block =
	    (const struct dbg_block_user *)
	    p_hwfn->dbg_arrays[BIN_BUF_DBG_BLOCKS_USER_DATA].ptr + block_id;
	return (const char *)block->name;
}
static const char * qed_dbg_get_block_name ( struct ecore_hwfn * p_hwfn , enum block_id block_id ) { const struct dbg_block_user * block = ( const struct dbg_block_user * ) p_hwfn -> dbg_arrays [ BIN_BUF_DBG_BLOCKS_USER_DATA ] . ptr + block_id ; return ( const char * ) block -> name ; }
Returns the block name that matches the specified block ID,
 or NULL if not found.
Returns the block name that matches the specified block ID or NULL if not found .