Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1468097imm; Thu, 12 Jul 2018 02:22:10 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeHvKofko42qzI6LrZiU6BAiA58vmQAE3rP9FA0xdWmD/0YSiwxb411GPHG+sx5jLKfDgv+ X-Received: by 2002:a17:902:bcc3:: with SMTP id o3-v6mr1387491pls.336.1531387330429; Thu, 12 Jul 2018 02:22:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531387330; cv=none; d=google.com; s=arc-20160816; b=LwL+hcwcEVYsbxlZLWKAzkR6AlwYPIbNZ4n9DfXFpVoB/lGjIxLHepV9KNdE+oEuZ8 nuKTraoe6Nft3LRibD0Svgy8ijag3S9FJpaf1WEkZY2Fl6kfBasLTINF3Faa/cXDOb2r lYtpb7Ed7iJhcPUa+n6WlSAakZJ5GzMPf/qfK2z/Ke14Vsgktw8N4tI3OUJohw0MDWcg 0sWS2bmYYNUodfJr18zH882+i5ydA/FF4ZtVL0K54tAiJl27Qa/fNDLVWcyivfznOU3b Ni6ygy8qwEZkrPFUpxWBBor+hJL2hxVMVsUZ77tqfW9FvGTy5XgXkXJjOELzZJJpCARM 7lbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:subject:user-agent:message-id :references:cc:in-reply-to:from:to:content-transfer-encoding :mime-version:arc-authentication-results; bh=jU9YPrW7eCUpuS43kDL1VJAH2qgiCcRleZWwLVgtEo0=; b=z5fPaO8z/uVGGbB0Cc4mQc+dkPAgixgOzrtn2qENWbm0lieYhMkSupuiXY1CPR5GU+ ayB/kpRQOfQWiQcCc18goyycPFpwmNbLXrRkJD+YRTPCVRyVyrvh68/JIz0HSXXKSKu9 XzT6+lx32jxI94HJHnq/tenPYg6F73PnzUhDMSRfkSOuHHmck+VlwDwEfUMB5feiLcIv q2qt0Hd+L1fWQWlmrqp4ag57ly1JkKgm+VqBe88DrQV5J4XLMJUN7MSvgMfnsnO7vuMI Knv5ClLSFsl42uziY54FKFgyiTu+yydlmy4W6Ym3jrGZFSXjv+5oHewqPnYhzgCfGcgG 0KEA== 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 60-v6si21413698ple.65.2018.07.12.02.21.54; Thu, 12 Jul 2018 02:22:10 -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 S1727100AbeGLJ2e convert rfc822-to-8bit (ORCPT + 99 others); Thu, 12 Jul 2018 05:28:34 -0400 Received: from mail.fireflyinternet.com ([109.228.58.192]:54460 "EHLO fireflyinternet.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726620AbeGLJ2e (ORCPT ); Thu, 12 Jul 2018 05:28:34 -0400 X-Default-Received-SPF: pass (skip=forwardok (res=PASS)) x-ip-name=78.156.65.138; Received: from localhost (unverified [78.156.65.138]) by fireflyinternet.com (Firefly Internet (M1)) with ESMTP (TLS) id 12329133-1500050 for multiple; Thu, 12 Jul 2018 10:19:36 +0100 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Dominique Martinet , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi From: Chris Wilson In-Reply-To: <1531351486-5932-1-git-send-email-asmadeus@codewreck.org> Cc: David Airlie , intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Dominique Martinet References: <1531295175-24052-1-git-send-email-asmadeus@codewreck.org> <1531351486-5932-1-git-send-email-asmadeus@codewreck.org> Message-ID: <153138718209.10340.14031656576072613123@skylake-alporthouse-com> User-Agent: alot/0.6 Subject: Re: [PATCH v2] i915/intel_tv_get_modes: fix strncpy truncation warning Date: Thu, 12 Jul 2018 10:19:42 +0100 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Dominique Martinet (2018-07-12 00:24:46) > Change it to use strlcpy instead > > Signed-off-by: Dominique Martinet Thanks for the spotting the issue and providing a fix, pushed. -Chris