Re: [PATCH 04/19] EDAC, mc: Do not BUG_ON() in edac_mc_alloc()

2019-10-11 Thread Mauro Carvalho Chehab
Em Thu, 10 Oct 2019 20:25:12 + Robert Richter escreveu: > No need to crash the system in case edac_mc_alloc() is called with > invalid arguments, just warn and return. This would cause a checkpatch > warning when touching the code later, so just fix it. > > Signed-off-by: Robert Richter Re

[PATCH 04/19] EDAC, mc: Do not BUG_ON() in edac_mc_alloc()

2019-10-10 Thread Robert Richter
No need to crash the system in case edac_mc_alloc() is called with invalid arguments, just warn and return. This would cause a checkpatch warning when touching the code later, so just fix it. Signed-off-by: Robert Richter --- drivers/edac/edac_mc.c | 4 +++- 1 file changed, 3 insertions(+), 1 de