File tree Expand file tree Collapse file tree
drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ) >>
You can’t perform that action at this time.
0 commit comments