[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180515135114.31939-1-flo@geekplace.eu>
Date: Tue, 15 May 2018 15:51:11 +0200
From: Florian Schmaus <flo@...kplace.eu>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Florian Schmaus <flo@...kplace.eu>, linux-kernel@...r.kernel.org
Subject: [PATCH v3 0/3] return EINVAL error instead of BUG_ON()
This patch series makes driver_register() emit an error message and
return a failure code instead of triggering a BUG_ON()
I tried to make the error message more descriptive compared to v2 by
including the error of the failed bus registration in [3/3]. I'd be
happy to include some more context if you have further suggestions.
Florian Schmaus (3):
driver-core: return EINVAL error instead of BUG_ON()
driver-core: record error on bus registration
driver-core: print bus registration error value
drivers/base/bus.c | 2 ++
drivers/base/driver.c | 7 ++++++-
include/linux/device.h | 1 +
3 files changed, 9 insertions(+), 1 deletion(-)
--
2.16.1
Powered by blists - more mailing lists