Re: [patch] bfa: use strncpy() instead of memcpy()

2016-02-03 Thread Martin K. Petersen
> "Dan" == Dan Carpenter writes: Dan> BFA_MFG_NAME is "QLogic" which is only 7 bytes, but we are copying Dan> 8 bytes. It's harmless because the badding byte is likely zero but Dan> it makes static checkers complain. Applied to 4.6/scsi-queue. -- Martin K.

RE: [patch] bfa: use strncpy() instead of memcpy()

2016-02-02 Thread Anil Gurumurthy
Acked-by: Anil Gurumurthy -Original Message- From: Dan Carpenter [mailto:dan.carpen...@oracle.com] Sent: 30 January 2016 20:06 To: Anil Gurumurthy Cc: Sudarsana Kalluru ; James E.J. Bottomley