Received: by 10.223.176.5 with SMTP id f5csp1253186wra; Fri, 9 Feb 2018 15:45:50 -0800 (PST) X-Google-Smtp-Source: AH8x227UdKoQHYYKNluzqZ/99IbkuLWgp6XnlzF9iB8uRTcAWyyPc0h1gQCD17vGq94mFNFEqEq2 X-Received: by 10.98.141.208 with SMTP id p77mr4427077pfk.5.1518219950219; Fri, 09 Feb 2018 15:45:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518219950; cv=none; d=google.com; s=arc-20160816; b=zUZozM2lXZM9J7WMTQxo9H8QxB8te7ROre7E9G/PzQYi/oipMAurdT12nYEtIxrbTn xaPeMIk6EQ3x/x6cwceJfbHcj0fz/ZTtgf/ULPNAc3KmtDdkMBlUKSdvD8DTaJfzEz7s IeHU0JeTJQceb3ZkFAejPhlLzd1g1elhMGuy/by/HwwN6yC7/aQpLS3FSFSwcrPQcEPc HtsQUkHppYgbeBH+vBOuDolqtWDdPLNd4Bjqpq5y4LdMhlXhDAW/TeqTvmyKZyZSCNQ/ z+Oz+YvKLSHyclriYe6DLODl+QjP3dV6VVLooZpv/de3YHTEO2CPbRAR2y0u1u3NCCS5 BhzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature:arc-authentication-results; bh=wCqTK+OdeAp9Q6jLM66F6ilFsM5qOemAA4e1Ok+V6ro=; b=hiiEhIOdndoP7kH0rE+ztlrMnaM0QubmUhUd85q9EJbRJgRzAF7A1c8mbsvdT790AG GmcrabCgeG66GCRIcIgyA0PDgFLre6b9aPnx31lIXNb/s9hs3sX3JRr5AHxqLcv4xUej QyfxYXhFEOctmgFKtV/R+gd5oN+OL707TlEG/i1rnFrolB2nje5jJfAPL6ZfnKVa2BXF AJunUmKgDwGeEiFQEuNRR65swBiVWclfzutNOmAA5F3sEJVUEKbFgUUtFDP1N74+15lz 4evYqFwIg5gq/vqlvigCfixp3N/gYOuspMp1acZMH43In15AXfH1rRFwbS6Yy/8hwT81 KYCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=BjWZSjC2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h3-v6si2193161plh.694.2018.02.09.15.45.35; Fri, 09 Feb 2018 15:45:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=BjWZSjC2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753304AbeBIXou (ORCPT + 99 others); Fri, 9 Feb 2018 18:44:50 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:42228 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753167AbeBIXor (ORCPT ); Fri, 9 Feb 2018 18:44:47 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w19Nfpdw131810; Fri, 9 Feb 2018 23:44:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2017-10-26; bh=wCqTK+OdeAp9Q6jLM66F6ilFsM5qOemAA4e1Ok+V6ro=; b=BjWZSjC2moSTyXsrRtV+StLLViIQYxOb5u1zjOqol5RmiweZE374RkE90Ze6Pxr6SpeT +lzDw6/q+upyFknVjLCGw/6AEvSE27JdmAgZsh1RUWMAFHMznwb/uJV5I2n45BTpnKrq 9UmomxuWpsMI18JJ2OR18l9Y7b0nxV04qoQoosd/NLexo72U0Rf1/ytGsCykWCgM3OuS mXPKUXfO4DsosoY8tkDq4/niboeNgRM6ykt+rL+bX1T2b01PkGTd2efkFAaT8Y3xLgtI Zabr7QeakAgsgiIqWjP4OlHFsGxfj09JDGSl8Z6lRpLZ2uEs2xuBzTYE7+1DYzdB2V9C AQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2g1n7m02jh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 09 Feb 2018 23:44:38 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w19Nawh1025662 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 9 Feb 2018 23:36:58 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w19Nau7s003954; Fri, 9 Feb 2018 23:36:56 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 09 Feb 2018 15:36:56 -0800 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 Subject: Re: [PATCH 6/6] scsi: qedf: use correct strncpy() size From: "Martin K. Petersen" Organization: Oracle Corporation References: <20180202131225.1658853-1-arnd@arndb.de> <20180202131225.1658853-7-arnd@arndb.de> Date: Fri, 09 Feb 2018 18:36:53 -0500 In-Reply-To: <20180202131225.1658853-7-arnd@arndb.de> (Arnd Bergmann's message of "Fri, 2 Feb 2018 14:12:20 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8800 signatures=668666 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=652 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1802090299 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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