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

From: Martin K. Petersen
Date: Wed Feb 03 2016 - 21:54:38 EST


>>>>> "Dan" == Dan Carpenter <dan.carpenter@xxxxxxxxxx> 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. Petersen Oracle Linux Engineering