ilure 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&m=151301239802445&w=2
---
drivers/net/ethernet/arc/emac_rockchip.c | 10 +++---
1 file changed, 7 ins
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
---
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
---
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
---
drivers/net/ethernet/arc/emac_rockchip.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a
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&m=150331308401055&w=2
Changes in v2:
Removed unused 'size' argument from prope
,
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
E_SYSFS_PROPERTY macro
and all 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/drive
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
---
drivers/staging/media/bcm2048/radio-bcm2048.c | 44 +--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers
10 matches
Mail list logo