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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id DB8C0C433EF for ; Thu, 21 Jul 2022 13:40:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=d3s1jU/O+cuN01NiRpfyLeTjYyVdeMg7pu6jn4SsQKM=; b=s2lXp4QwIXG8Uh /TSOuu+KFH42QcnNOQVhKThND0uNxoqmI+CSuShwJUfO0EXJDR3U2dWgXzuVtUnQzQrQEF+zQjLyE CX6eGbPcy4yTHio+/4Aq8l5JKk7tfNUInM4fu/u9rENRI2PcU3ivg+yB6sFm7N74rZ10oqe32naMn aVCm/X0Mitg/apZj5AyW0/BQSEP6IDasO3KsUVK3HxCj4sOONWUxWa8wHTd904y65MsElzf20gPBS jFYv4cy36/OCn80v5I5IxuLpXexXFDWnq786w4eSPSgIlzadCGwbVs2xQlhjhgXMFrjF1jB2fz88r 5WhJhj2It7ZsmasWvT5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEWP0-007A9j-CG; Thu, 21 Jul 2022 13:39:42 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEWKT-0076IN-4E for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 13:35:02 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 478F461EBC; Thu, 21 Jul 2022 13:35:00 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2181BC341C6; Thu, 21 Jul 2022 13:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1658410499; bh=LotosDg6OqPi/QeVcyfUiP3kmxKG1o5zdHj+YsZWQ9Q=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UX8CdA026mJAPAHm2TucVcx5xnfwh8f5p4Ojy59QPYi57r89CSa7tf3aXaUcmm821 YFm4AtJMMcEKxzwA8NeHTH2CA2+0uPk6idLhf6vRa03QDBrGAAuAMAAc3Bc+MhHA6Z VS9FILAwIlgpDHC2M4RCWBMtTzR+xrQOMfz//JI/n8WerNdQoMOyWHRIHZdqVVEx+M KjPNw+38GHw7CqYiTWIK0qDtzT1Snh3V/UeuC4QMrmHdXEfa4zlHRiKsiQgr4N2dC7 feSEpWw6l+ap/XrMX6RC7UEiQmNUW0kZvYIJ6kymCQGc8ztoNs9BXPlirZgy+rNwxQ xqUxlIIG1NFsw== Date: Thu, 21 Jul 2022 19:04:55 +0530 From: Vinod Koul To: XueBing Chen Cc: hyun.kwon@xilinx.com, laurent.pinchart@ideasonboard.com, michal.simek@xilinx.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] dmaengine: xilinx: use strscpy to replace strlcpy Message-ID: References: <39aa840f.e31.181ed9461c2.Coremail.chenxuebing@jari.cn> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <39aa840f.e31.181ed9461c2.Coremail.chenxuebing@jari.cn> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_063501_292872_EEECECC9 X-CRM114-Status: UNSURE ( 9.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 11-07-22, 22:05, XueBing Chen wrote: > > The strlcpy should not be used because it doesn't limit the source > length. Preferred is strscpy. Applied, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel