Unverified Commit a0201f3d authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!3253 Add error handle for driver

Merge Pull Request from: @ci-robot 
 
PR sync from: Li Nan <linan122@huawei.com>
https://mailweb.openeuler.org/hyperkitty/list/kernel@openeuler.org/message/2C5TD2RMCAFLI6BTOG4CHWQZULYSDUV3/ 
And revert redundant patches of nbd to resolve conflict.

Christoph Hellwig (9):
  block: add blk_alloc_disk and blk_cleanup_disk APIs
  blk-mq: add the blk_mq_alloc_disk APIs
  loop: use blk_mq_alloc_disk and blk_cleanup_disk
  loop: fix order of cleaning up the queue and freeing the tagset
  nbd: use blk_mq_alloc_disk and blk_cleanup_disk
  block: add a flag to make put_disk on partially initalized disks safer
  nvme: use blk_mq_alloc_disk
  brd: convert to blk_alloc_disk/blk_cleanup_disk
  ubi: use blk_mq_alloc_disk and blk_cleanup_disk

Dan Carpenter (1):
  blk-mq: fix an IS_ERR() vs NULL bug

Li Lingfeng (1):
  nbd: fix uaf in nbd_open

Li Nan (1):
  nbd: Revert redundant patches of nbd first_minor

Luis Chamberlain (7):
  loop: add error handling support for add_disk()
  nbd: add error handling support for add_disk()
  nvme: add error handling support for add_disk()
  block/brd: add error handling support for add_disk()
  scsi: sd: Add error handling support for add_disk()
  scsi: sr: Add error handling support for add_disk()
  mtd/ubi/block: add error handling support for add_disk()

Wang Qing (1):
  nbd: fix order of cleaning up the queue and freeing the tagset

Zhong Jinghua (3):
  scsi: sd: Clean up sdkp if device_add_disk() failed
  mtd/ubi/block: Fix null pointer dereference issue in error path
  mtd/ubi/block: Fix uaf problem in ubiblock_cleanup


-- 
2.39.2
 
https://gitee.com/openeuler/kernel/issues/I81XCK 
 
Link:https://gitee.com/openeuler/kernel/pulls/3253

 

Reviewed-by: default avatarYu Kuai <yukuai3@huawei.com>
Reviewed-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: default avatarJialin Zhang <zhangjialin11@huawei.com>
parents 1b220dec 59775736
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment