bfa: replace 2 kzalloc/copy_from_user by memdup_user
authorFabian Frederick <fabf@skynet.be>
Fri, 14 Nov 2014 18:49:58 +0000 (19:49 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 20 Nov 2014 08:11:29 +0000 (09:11 +0100)
commit9f30b674759b9a2da25aefe25d885161d8a911cb
tree3442f23ecb56782fa9869b9bb11137cb738bae98
parent1b33ef23946adee4b7d9d6b16b7285ce61063451
bfa: replace 2 kzalloc/copy_from_user by memdup_user

This patch also removes unnecessary printk(KERN_INFO

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Anil Gurumurthy <anil.gurumurthy@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/bfa/bfad_debugfs.c