YueHaibing,> Use kmemdup rather than duplicating its implementationApplied to 5.4/scsi-queue. Thanks!-- Martin K. Petersen Oracle Linux Engineering