Grep,
On 2017/8/2 2:06, Greg KH wrote:
On Tue, Aug 01, 2017 at 05:02:25PM +0900, Ethan Zhao wrote:
There is no enough error handling in block device adding/registration
path, for example,
device_add_disk()
blk_register_queue()
When kernel returns from device_add_disk(), no return value
() as shortcut before refactoring all related block device
code.
This issue also could be reproduced with stable v4.12 kernel.
Reported-by: Lifei Cai <lifei@oracle.com>
Signed-off-by: Ethan Zhao <ethan.z...@oracle.com>
---
Built and tested with stable v4.12
fs/sysfs/group.c | 3 +--
1