Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp5798542pxb; Tue, 16 Feb 2021 07:53:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJy5P4ZUl5XrmB7NwzH2WH269WcbQQAu2cBMCd4vGqopUB6O3mRqMFGrv5fyiVioe1aUbXlx X-Received: by 2002:aa7:d857:: with SMTP id f23mr11824670eds.356.1613490829538; Tue, 16 Feb 2021 07:53:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613490829; cv=none; d=google.com; s=arc-20160816; b=KUhx/IMMXBbL2o7HJxQ/pGic4sqEubTnNgfF2H7sGZq42oY/1ZdJaFc/Oput4dfIhd bbILoZ6tkvjHF89qtM3OEZHXQvvoAVQ8UZG/Ky77zcoBT4GuZmt5K1M8giSIAuyxmHe0 Bg+dD1MMndPHgEthWzzOOa1fPfwGxZWZ4nMAwkoN94qBM4C9NiugCXeOZZJgH95banps We9uvIEswDRCMkRVROo3wVK7gV94d+8TEQ1ybcAj9cgV4vQTzROiUez0Knc0dKHKzrtP WJY9AMxW0zcbIqVvvpN7fZLeUcanvkg9SbTC4U6lDfH+1EqReLkF3jHpXAuYkDjYn3yl T4WQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=y7FAAueIFMAXFTE9aqqwaVuxVLzWJ41n1RibstBf/uw=; b=xW9whvVf+ucVz1QHlJF3WIltNfhecXMKDYnFGV3aiwyUd74HUMQCruu4on8STVUhES oPER+bRwEbSye3fL9h+0E9nt0Bm3JLjqAviXpm0/Owh7MN9+8l/I7tGd23jSb1qTJIwW ABVzXKmShhgVD2PmgkYnMR6StgIsTU4KwFAhZ6iG3BUMlyL/YxYmJno1PxDtBRqQg7RO wFJDdWoenvadNg68z+EluruAQtpIdxnunnJpbdiNiOHiva2iEPRGkoswzGgHUtDvUB1g 8MsZfSm2FM0dOm82Mn2vOpRk6wWhDytLtZ5zZ/MtWO8B9M+jr2WoyIlSI6kH/eeDEWUY Oe4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=SHCf+Lr8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z23si16708479edm.39.2021.02.16.07.53.26; Tue, 16 Feb 2021 07:53:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ieee.org header.s=google header.b=SHCf+Lr8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ieee.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230335AbhBPPvW (ORCPT + 99 others); Tue, 16 Feb 2021 10:51:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbhBPPvO (ORCPT ); Tue, 16 Feb 2021 10:51:14 -0500 Received: from mail-io1-xd2b.google.com (mail-io1-xd2b.google.com [IPv6:2607:f8b0:4864:20::d2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4F14C061574 for ; Tue, 16 Feb 2021 07:49:35 -0800 (PST) Received: by mail-io1-xd2b.google.com with SMTP id p132so10560591iod.11 for ; Tue, 16 Feb 2021 07:49:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=y7FAAueIFMAXFTE9aqqwaVuxVLzWJ41n1RibstBf/uw=; b=SHCf+Lr8Fai0+JIKF6loXEw9yJRu+EiA1D8AdZuiQpbpVYhDAoGb5wb0MZdfDrE+I8 wqw5SVPw5Haw+RsZQ25HkOw81kkwDgzLKgQWVChvG9y2l/EYO5gmn0d3nglSTU5XWHoA xosoQ8MpYSKhzMu6bczvWbOudi2SHjqAjmSZ8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=y7FAAueIFMAXFTE9aqqwaVuxVLzWJ41n1RibstBf/uw=; b=sJRFWsRIMrciPgiFJtz99p7o9dhIpcAtYC4D215aqvWl5TQewLozDnv9Ouncg5WAzb MXjnGAaALfTkSSZIcIvTIaq+z9ia2hckFY5UPTH+n1AR9sb0gfS2YGCBf/HapsZ1Qm0C rr+lofbgH9k6DfgIFUziqfK4JLFuDmqRQNAZqoTkHX8/oikIm+RxcT9RVon7Uzpl732c Ax34utkM1Du1ljVLiIiiElnAI4kDHubgJlBKSMtikqrjc/0bT95mZwbDLP4D849oHs2X Jeuyq0rZc0WGZXQEpTx1VeiAWDoigYWlwpj8sego6EpVpGQZeB2zJT2QTBlzT48ctwEF WRcw== X-Gm-Message-State: AOAM532unIQ0oCZPFVEmBIpLgctkKmcnLeTjH7gq+VW1NumiVQ7RTOlK i1U0Sof2MSD1fXweLRVNwV+szw== X-Received: by 2002:a5e:a911:: with SMTP id c17mr17526518iod.20.1613490575345; Tue, 16 Feb 2021 07:49:35 -0800 (PST) Received: from [172.22.22.4] (c-73-185-129-58.hsd1.mn.comcast.net. [73.185.129.58]) by smtp.googlemail.com with ESMTPSA id i20sm10877449ila.82.2021.02.16.07.49.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 16 Feb 2021 07:49:34 -0800 (PST) Subject: Re: [PATCH 02/13] staging: greybus: Switch from strlcpy to strscpy To: Kumar Kartikeya Dwivedi Cc: devel@driverdev.osuosl.org, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, Ian Abbott , H Hartley Sweeten , Ioana Radulescu , Ioana Ciornei , Johan Hovold , Alex Elder , Vaibhav Agarwal , Mark Greer , Rui Miguel Silva , Viresh Kumar , Marc Dietrich , Jens Frederich , Daniel Drake , Jon Nettleton , Larry Finger , Florian Schilhabel , Sudip Mukherjee , Teddy Wang , Stephen Rothwell , Andrew Morton , Florian Fainelli , Al Viro , William Cohen , Mike Rapoport , Thomas Gleixner , Robert Richter , greybus-dev@lists.linaro.org, ac100@lists.launchpad.net, linux-tegra@vger.kernel.org, linux-fbdev@vger.kernel.org References: <20210131172838.146706-1-memxor@gmail.com> <20210131172838.146706-3-memxor@gmail.com> <20210216154800.jg24ahfj52t6qgbd@apollo> From: Alex Elder Message-ID: <8b51d270-5d25-919d-2034-8452513e3eaf@ieee.org> Date: Tue, 16 Feb 2021 09:49:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: <20210216154800.jg24ahfj52t6qgbd@apollo> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/16/21 9:48 AM, Kumar Kartikeya Dwivedi wrote: > On Tue, Feb 16, 2021 at 08:24:59PM IST, Alex Elder wrote: >> This is a good change. But while you're at it, I would >> appreciate if you would convert a few spots to use >> sizeof(dest) rather than a fixed constant. I will >> point them out below. >> >> If this is the *only* request for a change on your >> series, please tell me that and I can sign off on > > So far, this has been the only request. > >> this without you implementing my suggestion. But >> if you post a version 2, please do what I describe. >> > > I will incorporate these if I end up sending a v2. > > Alternatively, would a separate patch with your suggestions applied on top of > this be acceptable, if I don't? Yes. Assuming you do that, for this patch (as-is): Reviewed-by: Alex Elder