src/dpdk/drivers/net/qede/qede_debug.c
static enum dbg_storms qed_get_id_from_letter(char storm_letter)
{
	u8 storm_id;

	for (storm_id = 0; storm_id < MAX_DBG_STORMS; storm_id++)
		if (s_storm_defs[storm_id].letter == storm_letter)
			return (enum dbg_storms)storm_id;

	return MAX_DBG_STORMS;
}
/* Returns the storm_id that matches the specified Storm letter,
 * or MAX_DBG_STORMS if invalid storm letter.
 */
Returns the storm_id that matches the specified Storm letter,
or MAX_DBG_STORMS if invalid storm letter.
Returns the storm_id that matches the specified Storm letter or MAX_DBG_STORMS if invalid storm letter .
static enum dbg_storms qed_get_id_from_letter(char storm_letter)
{
	u8 storm_id;
	for (storm_id = 0; storm_id < MAX_DBG_STORMS; storm_id++)
		if (s_storm_defs[storm_id].letter == storm_letter)
			return (enum dbg_storms)storm_id;
	return MAX_DBG_STORMS;
}
static enum dbg_storms qed_get_id_from_letter ( char storm_letter ) { u8 storm_id ; for ( storm_id = 0 ; storm_id < MAX_DBG_STORMS ; storm_id ++ ) if ( s_storm_defs [ storm_id ] . letter == storm_letter ) return ( enum dbg_storms ) storm_id ; return MAX_DBG_STORMS ; }
Returns the storm_id that matches the specified Storm letter,
 or MAX_DBG_STORMS if invalid storm letter.
Returns the storm_id that matches the specified Storm letter or MAX_DBG_STORMS if invalid storm letter .