Skip to content

Commit ef493f9

Browse files
madalinbucurrehsack
authored andcommitted
sdk_fman: fix identation causing compilation warnings
Signed-off-by: Madalin Bucur <[email protected]>
1 parent f3e05bf commit ef493f9

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM

drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,8 @@ uint8_t fman_get_num_of_tasks(struct fman_bmi_regs *bmi_rg, uint8_t port_id)
460460
{
461461
uint32_t tmp;
462462

463-
if ((port_id > 63) || (port_id < 1))
464-
return 0;
463+
if ((port_id > 63) || (port_id < 1))
464+
return 0;
465465

466466
tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]);
467467
return (uint8_t)(((tmp & BMI_NUM_OF_TASKS_MASK) >>
@@ -472,8 +472,8 @@ uint8_t fman_get_num_extra_tasks(struct fman_bmi_regs *bmi_rg, uint8_t port_id)
472472
{
473473
uint32_t tmp;
474474

475-
if ((port_id > 63) || (port_id < 1))
476-
return 0;
475+
if ((port_id > 63) || (port_id < 1))
476+
return 0;
477477

478478
tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]);
479479
return (uint8_t)((tmp & BMI_NUM_OF_EXTRA_TASKS_MASK) >>

0 commit comments

Comments
 (0)