Re: [PATCH v2] edac: remove redundant error print in xgene_edac_probe

2021-01-19 Thread Borislav Petkov
On Tue, Jan 12, 2021 at 02:35:40AM -0800, menglong8.d...@gmail.com wrote: > From: Menglong Dong > > Coccinelle reports a redundant error print in xgene_edac_probe. > As 'platform_get_irq' already prints the error message, error > print here is redundant. > > Fix it by using 'platform_get_irq_opt

Re: [PATCH v2] edac: remove redundant error print in xgene_edac_probe

2021-01-12 Thread Robert Richter
On 12.01.21 02:35:40, menglong8.d...@gmail.com wrote: > From: Menglong Dong > > Coccinelle reports a redundant error print in xgene_edac_probe. > As 'platform_get_irq' already prints the error message, error > print here is redundant. > > Fix it by using 'platform_get_irq_optional' in place of >

[PATCH v2] edac: remove redundant error print in xgene_edac_probe

2021-01-12 Thread menglong8 . dong
From: Menglong Dong Coccinelle reports a redundant error print in xgene_edac_probe. As 'platform_get_irq' already prints the error message, error print here is redundant. Fix it by using 'platform_get_irq_optional' in place of 'platform_get_irq', as Robert suggested. Signed-off-by: Menglong Don