From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH 6/6] scsi: qedf: use correct strncpy() size Date: Fri, 09 Feb 2018 18:36:53 -0500 Message-ID: References: <20180202131225.1658853-1-arnd@arndb.de> <20180202131225.1658853-7-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <20180202131225.1658853-7-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 2 Feb 2018 14:12:20 +0100") Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: linux-scsi@vger.kernel.org, "James E . J . Bottomley" , QLogic-Storage-Upstream@cavium.com, "Martin K. Petersen" , Nicolas Pitre , Andi Kleen , Saurav Kashyap , "Dupuis, Chad" , Arun Easi , Nilesh Javali , linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org Arnd, > gcc-8 warns during link-time optimization that the strncpy() call > passes the size of the source buffer rather than the destination: Applied to 4.17/scsi-queue. Thanks! -- Martin K. Petersen Oracle Linux Engineering