Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3119832imm; Tue, 29 May 2018 01:06:28 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrhL9RKidvMdS2MI2MH1BRS+Sh94fhrcshQbFRWaZDk79nLLFuLzOFPsXivQpjqUwhs5ce5 X-Received: by 2002:a63:6dc3:: with SMTP id i186-v6mr13281911pgc.316.1527581188577; Tue, 29 May 2018 01:06:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527581188; cv=none; d=google.com; s=arc-20160816; b=qwgz7LELPTmwnP+wIawCthIkZcKoYooWInBrfuDACR/jeEVGhwb+soXCRLIaHOGs8o 247vymYUwgEzi/20jOid5yzuyYXJwNYzeDkhg/0MS6mH4g8LIx8YwvF8RU0ZYq8C/zST RO4PFUVAdte2ZOIekcvqfsdi2m94zh9OXjc28NXBNW0HKEBcAPQo8qdybGLblr1Vjt5d 9DqO+i8yjXt0VNFaHYAjY7T64nJE0NOKdfTLiaAZVcyVs8RKjsZdwZPEVSQJ9hCi5Zob GpHYwxzii0XRuhwJuhHeMNnUTid+jMq6ALDOcVuY2SvUcu7CBTFfoOTZFRkh0ircHce+ 4nJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=s1VDVPH4KmXvfyWpZ+mq8UkbBbvdESkDDe1y5ylghQI=; b=iuIyvV64IuAHBoc0FuZoYey/5p/2QEv8NZJSZrVRAPzMmFY38U7YnP9u8ZjAJfDp1R ormqJdvGyfLVUVzTyH+McA2YIdwAxhhD3LE9WaCKcQTAcjfpeZq8BZDqJJh+dEY6DiZG 6xEPEkaFEk86VaFdl/Wqd9rErPXnVjBZvLNDHa/51fUVB/Jx9P6ZJ4SU5KRWhdd5WnzP 3AlasdVOcXgzMU3BBz5dGLtmBgkCuCQS9P0ZpdG70s4e+zw9oqV/WwaLllXEr3WaqHjU 0xtEx01R8Z4rbjOXJlflKnbPkUpF9CAbsr4RQtBTLKinRfOyY79c9MmVVIs/3m4FDXd8 ZzEQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t196-v6si18746230pgc.648.2018.05.29.01.06.14; Tue, 29 May 2018 01:06:28 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755287AbeE2IFN (ORCPT + 99 others); Tue, 29 May 2018 04:05:13 -0400 Received: from verein.lst.de ([213.95.11.211]:53830 "EHLO newverein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754938AbeE2IFH (ORCPT ); Tue, 29 May 2018 04:05:07 -0400 Received: by newverein.lst.de (Postfix, from userid 2407) id EB51768E43; Tue, 29 May 2018 10:11:17 +0200 (CEST) Date: Tue, 29 May 2018 10:11:17 +0200 From: Christoph Hellwig To: Nick Desaulniers Cc: keith.busch@intel.com, axboe@fb.com, hch@lst.de, sagi@grimberg.me, linux-nvme@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvme: prefer strlcpy to strncpy Message-ID: <20180529081117.GA1416@lst.de> References: <1527576558-26817-1-git-send-email-nick.desaulniers@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1527576558-26817-1-git-send-email-nick.desaulniers@gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 28, 2018 at 11:49:18PM -0700, Nick Desaulniers wrote: > Fixes a stringop-truncation warning from gcc-8. What would that warning be? Maybe it actually is genuinly useful, and switching to strlcpy just papers over it..