ice: fix some function prototype and signature style issues
Put the return type on a separate line for function prototypes and signatures that would exceed the 80-character limit if both were on the same line. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
@@ -367,8 +367,9 @@ struct ice_netdev_priv {
|
||||
* @vsi: pointer to vsi struct, can be NULL
|
||||
* @q_vector: pointer to q_vector, can be NULL
|
||||
*/
|
||||
static inline void ice_irq_dynamic_ena(struct ice_hw *hw, struct ice_vsi *vsi,
|
||||
struct ice_q_vector *q_vector)
|
||||
static inline void
|
||||
ice_irq_dynamic_ena(struct ice_hw *hw, struct ice_vsi *vsi,
|
||||
struct ice_q_vector *q_vector)
|
||||
{
|
||||
u32 vector = (vsi && q_vector) ? vsi->hw_base_vector + q_vector->v_idx :
|
||||
((struct ice_pf *)hw->back)->hw_oicr_idx;
|
||||
|
مرجع در شماره جدید
Block a user