[PATCH] misc: eeprom: assignment outside the if statement

2018-08-03 Thread Parth Y Shah
Assignment of any variable should be kept outside the if statement Signed-off-by: Parth Y Shah --- drivers/misc/eeprom/max6875.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/eeprom/max6875.c b/drivers/misc/eeprom/max6875.c index 0e32709..fc0cf9a 100644

[PATCH] misc: lkdtm: fixed static variable initialization

2018-08-06 Thread Parth Y Shah
Resolved "ERROR: do not initialise statics to 0" Signed-off-by: Parth Y Shah --- drivers/misc/lkdtm/usercopy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/lkdtm/usercopy.c b/drivers/misc/lkdtm/usercopy.c index 9725aed..d8157b8 100644 --- a/drivers/

[PATCH] Fixes kernel crash generating from bam_dma_irq()

2020-12-06 Thread Parth Y Shah
IRQ_WAKE_THREAD handler requests to wake the handler thread Therefore, to resolve this crash, we have changed the return value to IRQ_NONE. Signed-off-by: Parth Y Shah --- drivers/dma/qcom/bam_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/qcom

[PATCH] dmaengine: bam_dma: fix return of bam_dma_irq()

2020-12-06 Thread Parth Y Shah
IRQ_WAKE_THREAD handler requests to wake the handler thread Therefore, to resolve this crash, we have changed the return value to IRQ_NONE. Signed-off-by: Parth Y Shah --- drivers/dma/qcom/bam_dma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/qcom

[PATCH] misc: eeprom: assignment outside the if statement

2018-08-03 Thread Parth Y Shah
Assignment of any variable should be kept outside the if statement Signed-off-by: Parth Y Shah --- drivers/misc/eeprom/max6875.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/misc/eeprom/max6875.c b/drivers/misc/eeprom/max6875.c index 0e32709..fc0cf9a 100644

[PATCH] misc: lkdtm: fixed static variable initialization

2018-08-06 Thread Parth Y Shah
Resolved "ERROR: do not initialise statics to 0" Signed-off-by: Parth Y Shah --- drivers/misc/lkdtm/usercopy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/lkdtm/usercopy.c b/drivers/misc/lkdtm/usercopy.c index 9725aed..d8157b8 100644 --- a/drivers/