On 05/15/2018 10:31 AM, Andy Green wrote:
Fixes: fe5f777b5383 ("bus/pci: replace strncpy by strlcpy")
Signed-off-by: Andy Green <a...@warmcat.com>

Reviewed-by: Andrew Rybchenko <arybche...@solarflare.com>

Suggest to reword it as:

bus/pci: fix invalid size of driver name buffer

Variable dri_name is a pointer and it is incorrect to use its
size as the buffer size. Caller knows the buffer size and
it is safer to pass it explicitly.

Reply via email to