Skip to content
Snippets Groups Projects
Commit b3b2a9f6 authored by Bharath Vedartham's avatar Bharath Vedartham Committed by Martin K. Petersen
Browse files

scsi: message: fusion: Use kmemdup instead of memcpy and kmalloc


Replace kmalloc + memcpy with kmemdup.

This was reported by coccinelle.

Signed-off-by: default avatarBharath Vedartham <linux.bhar@gmail.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent de19212c
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment