handling of clock rate setting
* For completeness of usecase, added arc_emac_probe error handling
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
[1] https://marc.info/?l=linux-netdev=151301239802445=2
---
drivers/net/ethernet/arc/emac_rockchip.c | 10 +++---
1 file chan
handling of clock rate setting
* For completeness of usecase, added arc_emac_probe error handling
Signed-off-by: Branislav Radocaj
---
[1] https://marc.info/?l=linux-netdev=151301239802445=2
---
drivers/net/ethernet/arc/emac_rockchip.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions
If clk_set_rate() fails, we should disable clk before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
Changes since v2:
* Improved inconsistent failure handling of clock rate setting
* For completeness of u
If clk_set_rate() fails, we should disable clk before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj
---
Changes since v2:
* Improved inconsistent failure handling of clock rate setting
* For completeness of usecase, added arc_emac_probe
If uart_add_one_port() fails in mxs_auart_probe, the clks has
to be disabled.Two clks are previously enabled in mxs_get_clks().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
drivers/tty/serial/mxs-auart
If uart_add_one_port() fails in mxs_auart_probe, the clks has
to be disabled.Two clks are previously enabled in mxs_get_clks().
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj
---
drivers/tty/serial/mxs-auart.c | 8 ++--
1 file changed, 6
If clk_set_rate() fails, we should disable clk before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
drivers/net/ethernet/arc/emac_rockchip.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
If clk_set_rate() fails, we should disable clk before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj
---
drivers/net/ethernet/arc/emac_rockchip.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/net
If clk_set_rate() fails, we should disable clk
before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
drivers/net/ethernet/arc/emac_rockchip.c | 7 +--
1 file changed, 5 insertions
If clk_set_rate() fails, we should disable clk
before return.
Found by Linux Driver Verification project (linuxtesting.org).
Signed-off-by: Branislav Radocaj
---
drivers/net/ethernet/arc/emac_rockchip.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git
This is a patch to the radio-bcm2048.c file that fixes up
a warning found by the checkpatch.pl tool.
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
[1]: https://marc.info/?l=linux-driver-devel=150331308401055=2
Changes in v2:
Removed unused 'size' argument from propert
This is a patch to the radio-bcm2048.c file that fixes up
a warning found by the checkpatch.pl tool.
Signed-off-by: Branislav Radocaj
---
[1]: https://marc.info/?l=linux-driver-devel=150331308401055=2
Changes in v2:
Removed unused 'size' argument from property_read macro.
In property_write
,
kmem_cache_alloc_node, kmalloc_node and kzalloc_node and removes
the casting as it is not required. The result in the patch case may
need some reformatting.
Generated by: scripts/coccinelle/api/alloc/alloc_cast.cocci
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
drivers/staging
,
kmem_cache_alloc_node, kmalloc_node and kzalloc_node and removes
the casting as it is not required. The result in the patch case may
need some reformatting.
Generated by: scripts/coccinelle/api/alloc/alloc_cast.cocci
Signed-off-by: Branislav Radocaj
---
drivers/staging/media/atomisp/pci/atomisp2
places of its usage as well.
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 60 +--
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c
b/drivers/s
places of its usage as well.
Signed-off-by: Branislav Radocaj
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 60 +--
1 file changed, 30 insertions(+), 30 deletions(-)
diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c
b/drivers/staging/media/bcm2048/radio
This is a patch to the radio-bcm2048.c file that fixes up
a warning found by the checkpatch.pl tool.
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 50 +--
1 file changed, 25 insertions(+), 25 del
This is a patch to the radio-bcm2048.c file that fixes up
a warning found by the checkpatch.pl tool.
Signed-off-by: Branislav Radocaj
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 50 +--
1 file changed, 25 insertions(+), 25 deletions(-)
diff --git a/drivers
This is a patch to the radio-bcm2048.c file that fixes up
a warning found by the checkpatch.pl tool.
Signed-off-by: Branislav Radocaj <branis...@radocaj.org>
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 44 +--
1 file changed, 22 insertions(+), 22 del
This is a patch to the radio-bcm2048.c file that fixes up
a warning found by the checkpatch.pl tool.
Signed-off-by: Branislav Radocaj
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 44 +--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers
20 matches
Mail list logo