From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id AF428C433FE for ; Fri, 7 Oct 2022 12:26:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229591AbiJGM0a (ORCPT ); Fri, 7 Oct 2022 08:26:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbiJGM00 (ORCPT ); Fri, 7 Oct 2022 08:26:26 -0400 Received: from mail-lj1-x231.google.com (mail-lj1-x231.google.com [IPv6:2a00:1450:4864:20::231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E859A98F3 for ; Fri, 7 Oct 2022 05:26:19 -0700 (PDT) Received: by mail-lj1-x231.google.com with SMTP id f9so5496316ljk.12 for ; Fri, 07 Oct 2022 05:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=eWK8ltIDIkui3ySL4w1wqLeglJS7qqPhWaK+ZxDPlzo=; b=qjO6OVdvJhlNxmB4052GCBtnuDlboPeXq/lQh0poEN4u2jzhUCvBxwB2aHDi9EtOC6 kQ7ezfUfR6PFkr0UclfQHe2t4aewrU3j5aJ23eQqS+eUYSozKSUpobiuY1i8E1t7oIoq vXMGSYaqgDLp6mpSIAGhOLrd5/QPn9zFAtVmk0msv7MRb7s9tr10M1wHcL9EAkYOhJ0h 4OBftQd9Swivypx/g5x39pAIv+q86cuvphmEpyqbaEzRdXIj8FMl527fbUycm6YEmPZw enGBpl+wWPco63TPZZ4Wb8zjJmU1C1qC+gC16+VeeCLxuvFAKH2Lkr7F2LPHUrRO6SBw QuKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=eWK8ltIDIkui3ySL4w1wqLeglJS7qqPhWaK+ZxDPlzo=; b=5wBwWgiNt7SLfyKpmxYG6HEcEX5tU3KjKaLO23mEKMEWOHn8R9Ycrhz/ES1KDxkl6R Q0aBYa7n+Ed4x4VeCNg2kfgHusJMBhYqOvWSuLO8zoAma3AfEEF8yNV4jxqyQA0Z/kkG RdgQwpzPMaOXvsjqj2J5FjcN/gsi8r2d4JyrjWjnUQIiyDJkBse3EQ0tLmrbQFtw3Rzf 1Tg/8tfspMNm2AYATL1/1fB7hwCneh82h57bR1gRMjgCPZ2f+sh3K4NWtkAXjBB+rSDF hIfEZbOPwRhTTdBVfbo9sTzSJwC2cFCGgXUZQ1OCT/X7f25cFPfClNjyFtwB0WM18T/r fjtg== X-Gm-Message-State: ACrzQf0FAoiQqK0uKRl71RNG37d3cQ6pKmvKMJbRD4gV6dJXPEXNDDaJ jrhN872un8Xls4VdLjMmJZzn6A== X-Google-Smtp-Source: AMsMyM65SjzOOQvBru/Gza0vh62MUFmFnt85NMWgCQ4hRnraNaKmsKCR4xfdOiOArggIC/dMZzNtmg== X-Received: by 2002:a2e:9d88:0:b0:26a:95c1:218f with SMTP id c8-20020a2e9d88000000b0026a95c1218fmr1558690ljj.223.1665145577901; Fri, 07 Oct 2022 05:26:17 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id s22-20020a056512203600b00498f3ebffb2sm286031lfs.25.2022.10.07.05.26.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 07 Oct 2022 05:26:17 -0700 (PDT) Message-ID: <10f629f9-733b-3b8e-4e80-af16920b3615@linaro.org> Date: Fri, 7 Oct 2022 14:26:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH 5.10 1/1] Backport of rpmsg: qcom: glink: replace strncpy() with strscpy_pad() To: Andrew Chernyakov , stable@vger.kernel.org, Greg Kroah-Hartman Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Mathieu Poirier , linux-arm-msm@vger.kernel.org, linux-remoteproc@vger.kernel.org, linux-kernel@vger.kernel.org, lvc-project@linuxtesting.org References: <20221007104120.75208-1-acherniakov@astralinux.ru> <20221007104120.75208-2-acherniakov@astralinux.ru> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: <20221007104120.75208-2-acherniakov@astralinux.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 07/10/2022 12:41, Andrew Chernyakov wrote: > The use of strncpy() is considered deprecated for NULL-terminated > strings[1]. Replace strncpy() with strscpy_pad(), to keep existing > pad-behavior of strncpy, strncpy was found on line 1424 of > /drivers/rpmsg/qcom_glink_native.c. > > Found by Linux Verification Center (linuxtesting.org) with SVACE. > > Signed-off-by: Andrew Chernyakov This is not a correct backport. You lost entire information about original patch and its history. You even dropped my authorship. The certificate of origin chain is broken and not correct. You must follow the process of backporting of patches: https://elixir.bootlin.com/linux/v5.19.14/source/Documentation/process/submitting-patches.rst Best regards, Krzysztof