kernel: bump 5.4 to 5.4.109
[openwrt/openwrt.git] / target / linux / layerscape / patches-5.4 / 701-net-0350-sdk_fman-fix-identation-causing-compilation-warnings.patch
1 From 2152a79d81c23f21bedd9ea5934c6df266642f36 Mon Sep 17 00:00:00 2001
2 From: Madalin Bucur <madalin.bucur@oss.nxp.com>
3 Date: Thu, 19 Dec 2019 14:33:11 +0200
4 Subject: [PATCH] sdk_fman: fix identation causing compilation warnings
5
6 Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
7 ---
8 drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c | 8 ++++----
9 1 file changed, 4 insertions(+), 4 deletions(-)
10
11 --- a/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
12 +++ b/drivers/net/ethernet/freescale/sdk_fman/Peripherals/FM/fman.c
13 @@ -460,8 +460,8 @@ uint8_t fman_get_num_of_tasks(struct fma
14 {
15 uint32_t tmp;
16
17 - if ((port_id > 63) || (port_id < 1))
18 - return 0;
19 + if ((port_id > 63) || (port_id < 1))
20 + return 0;
21
22 tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]);
23 return (uint8_t)(((tmp & BMI_NUM_OF_TASKS_MASK) >>
24 @@ -472,8 +472,8 @@ uint8_t fman_get_num_extra_tasks(struct
25 {
26 uint32_t tmp;
27
28 - if ((port_id > 63) || (port_id < 1))
29 - return 0;
30 + if ((port_id > 63) || (port_id < 1))
31 + return 0;
32
33 tmp = ioread32be(&bmi_rg->fmbm_pp[port_id - 1]);
34 return (uint8_t)((tmp & BMI_NUM_OF_EXTRA_TASKS_MASK) >>