Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp811333rwb; Fri, 23 Sep 2022 04:37:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6zHTvq9UgNJQ1DPHY7oJIXwZy4z25Z/vy6qKmwvm0JoSDmyvj5+bCdPW3a+KYhjtATe9+7 X-Received: by 2002:a17:90b:1801:b0:202:7cf6:9f93 with SMTP id lw1-20020a17090b180100b002027cf69f93mr20116635pjb.170.1663933032554; Fri, 23 Sep 2022 04:37:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663933032; cv=none; d=google.com; s=arc-20160816; b=nLmAARcrnUTwgF+mBOKvecLbsaykgWvwb3tURBl8R63t6jmLPWoHSP86R7s24Yzu5V InN06hlNAyig4lm3oVIUSaO1rnnsP3nLclRlJNqP2IZNaruuvbqSNBCKf8BR9TY+R5ck 0iI0yrX1gUv67yupUQZ2RsQSkPkI+XD3mudixusY2nnqa2Z2y/wn8I9cpHWN6F55/itc uAjbeaT6OraD4HkRsApTFfKknDNWOr59BFSwUjNERPtKNqj7sBs1LU5aEDdI3pti6EMd 2uq+EDXpBARenUPDdIfmU/EkM83shZFI82NVkEtkto0uuiUAxz/hEPcAAbGlh0pTD+kA U7tA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=C9Ixt7ZPmjv3wabGBTiF81Yt9jGnlGxSuwbQ49syOEg=; b=vHVdY3jf9TqR0kSSG1LEtNvXMwjHCqazG0oXBW9sjRKSxg7RDt2DHHHry3WxtP5ZDx PQ/dp6JKFO/mVM/vEkH3h1jgltvuZ5i4IiS5snpzvZSqkr1S2DyM5o6HQ2+T8gJxz9KP zSfGa9JXh+ET7v66koloyZiokYE46TQ1ZouPBprTEKmIH9h7HefqkaIjJMCUTDDRVlNR dduUYvPJLcVf8CN70Brd3HskdlhZN/hh3nUuOV9Qa0XUO7JF32uu3vnira1uE0ikI3xt z8W6wxMy44B7ldsDIOOTprnuZntSRabz05ie30yhqo8GrCUlmdqmBQVtOjWbQ5pi6yRQ zjjA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h4-20020a654804000000b0043afcda38afsi8657465pgs.417.2022.09.23.04.37.00; Fri, 23 Sep 2022 04:37:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231211AbiIWKrI (ORCPT + 99 others); Fri, 23 Sep 2022 06:47:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbiIWKrF (ORCPT ); Fri, 23 Sep 2022 06:47:05 -0400 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AA5E9109774; Fri, 23 Sep 2022 03:47:04 -0700 (PDT) Received: by mail-wm1-f54.google.com with SMTP id u16-20020a05600c211000b003b5152ebf09so482595wml.5; Fri, 23 Sep 2022 03:47:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=C9Ixt7ZPmjv3wabGBTiF81Yt9jGnlGxSuwbQ49syOEg=; b=zeW5tSZTIkAUgXO6MoEHpqjbIw4TGFZltn6KaJxHfZzca+AjRuW5blWGwNUk3luqb2 BCwEFh6+iHS0PQ2br9mg+Gh0FQWRSYiZ6r/VhoFf2FqgMXDw7Ke0bb3Z5lBC1N9OaWyY 2tFliFguCaJKdVfsY1jLx+wOtKee0W18iMbXf7/1jT5i8u443kKCEGSTTvnWvFPovAg0 ACr7R8RaMCld2OYwhWhf3opSjie/BHLHDnisVdI1l2fftuv0CNvdB8OhfTdkM6qo9REa Ltsg5PJgT6KFta5lDW28GJw7TAkIXctc8hsW4dnD0w/1Hy5emJY+8YjXIlo0qEXPAIbo 6GCg== X-Gm-Message-State: ACrzQf2UCQOo85TMYskV6R+7UKjm0q4V2PfXFJVdqXW5FyaTfM/n1uVT NggKW6rBvlIoOlDD3BeQIX4= X-Received: by 2002:a05:600c:35c5:b0:3b4:bf50:f84a with SMTP id r5-20020a05600c35c500b003b4bf50f84amr5289326wmq.22.1663930023269; Fri, 23 Sep 2022 03:47:03 -0700 (PDT) Received: from liuwe-devbox-debian-v2 ([51.145.34.42]) by smtp.gmail.com with ESMTPSA id fc15-20020a05600c524f00b003a5537bb2besm2381730wmb.25.2022.09.23.03.47.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 23 Sep 2022 03:47:02 -0700 (PDT) Date: Fri, 23 Sep 2022 10:47:00 +0000 From: Wei Liu To: cgel.zte@gmail.com Cc: wei.liu@kernel.org, paul@xen.org, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, xen-devel@lists.xenproject.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Minghao Chi , Zeal Robot Subject: Re: [PATCH] xen-netback: use kstrdup instead of open-coding it Message-ID: References: <20220921021617.217784-1-chi.minghao@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220921021617.217784-1-chi.minghao@zte.com.cn> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 21, 2022 at 02:16:17AM +0000, cgel.zte@gmail.com wrote: > From: Minghao Chi > > use kstrdup instead of open-coding it. > > Reported-by: Zeal Robot > Signed-off-by: Minghao Chi Acked-by: Wei Liu