Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp36235034rwd; Mon, 10 Jul 2023 20:49:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlEtRvPkfRmaORNoJtODNkSjpI6ryWHbbp/EOKycVPR1qvLP/BiXfTvWPnPriBwGEqpBVfv+ X-Received: by 2002:a17:907:c8f:b0:98d:b73b:b5f2 with SMTP id gi15-20020a1709070c8f00b0098db73bb5f2mr14411923ejc.71.1689047386819; Mon, 10 Jul 2023 20:49:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689047386; cv=none; d=google.com; s=arc-20160816; b=GZG85ffPR184tpx0xvcJ8wvkojLPmOX7hnf7sXL2eVtwIKH++ZNcomo9Doewxbt1SH uVmGVyZDzUf0nboFOVjPv5/9XwHWYQO+29HyZslrQ1jpA7Di0qhUWF4WDdSgslC0a/pO RRd0rqwj5zsPJD1IWWjlHaug+3g746nBbUkYBTZKIbQCcl/kSArrR8gozR1LsYVJuKH1 FzcobR764WuNkjV9rf+a1aubMavsjiFnMPQ6FofuDx6MvZLe2QlkBqhlzuojupV1Bz2x wNy50vBStG4iliihUok13+Iz0WEKK23hpvfkDXznQp0P38yRcpHQ5WPwxbKvCF+SknOr kz/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=rnYEIRHhki4Z3XM7hs+JBMiBd6mstq8jdoxe7LOSGFQ=; fh=TWzhbVhjHb9cixj+4ULoYvlcEPNDQAlEBjq7ivnKrv4=; b=rfoA0vbgYuqw3a/0TqymZwZZlSg1KZri0iaTixWeYtSjPxkorIY9T55D1DJFaQUOPC HDtGkhcU/r9/xxtN3lxs8Zj/964+9QQCqiqroYknxYjPJPeSPhjYrbilm/hl+xPUeIlF R3lfagSRxm1wl8eCZTckP31b7wOPQV42CaXb8dFb41TqrIJyq4tSCjFYV+Thr0+xdOyr zs/E7ris+qkJitdJcluRrXjQMr8JqhAbuH+OeV1gcWvVNnnEAflVy/EUs+X08JX/+umL d59vDpNh5U4HifajyzUEIoD8Qqgfjk9qXjEOp6Qw2CQ87C7jOpbZebj4z23y/5uWkAgt 2D3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VekpqBoZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id kk8-20020a170907766800b00992d2630d08si1123472ejc.788.2023.07.10.20.49.23; Mon, 10 Jul 2023 20:49:46 -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; dkim=pass header.i=@gmail.com header.s=20221208 header.b=VekpqBoZ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230261AbjGKC6r (ORCPT + 99 others); Mon, 10 Jul 2023 22:58:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229924AbjGKC6p (ORCPT ); Mon, 10 Jul 2023 22:58:45 -0400 Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5DE96FB; Mon, 10 Jul 2023 19:58:44 -0700 (PDT) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-51e5672d580so2791358a12.2; Mon, 10 Jul 2023 19:58:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689044323; x=1691636323; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rnYEIRHhki4Z3XM7hs+JBMiBd6mstq8jdoxe7LOSGFQ=; b=VekpqBoZS2Qca14fLYlmvzRoWQTI3Nq4Lm5SJY+hPouul3WcRhRXPRcosC2fsCLxcW dHToZzSgyjGW+0wG6WeYhWm+fTq7ie5KLIewI3Z1ogRZNoJb2PqftG56+zYBesXTpCyf hnuNE88llhmEKFkLy4/SGIaaEwfW9a0FAaluNHcJ56aOM7pxPsbEuo7VWPZ+9T/Snxyu sfXq7lPM0dELlLV3HCtXzkD0JUGL4wM3TpMgzkbTGgLUZxIO52miWXymDw1f5yRcMdlB RD1QIOujuM7lPOfjHthpXX+ttPi0wjISBqV2Lim650CQQTLQYlsLZVp2TTT+tig6gU0x Q6Rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689044323; x=1691636323; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rnYEIRHhki4Z3XM7hs+JBMiBd6mstq8jdoxe7LOSGFQ=; b=HDiPhg7bS7hlKmOnexPFsZSOdBbH9UClZEt6oUweBKPJ6MJ9EkC5YbRt/ordAPM7pC JDQXrCb3zI0eNg3HS4Km2+VpTmNekNyBupoG9FCo51COaTbviMDUE1yVDk84934l0Y9z OjLCkC1D1LUoDf7JnVbapRQuc1odeRvcCRi1MQL5pxDq4WmF4EVr7Cm1ywxRe1epGFiI K2JmxgjYN8zpnxVWFqMzF7KpbH96uVF1rKYx9ADTPwkm+bB4yGMsNQyFoIu/4kHPwxjD MU7P1IZWaRO4G9PIBMrAsjbg6hwPGbelWtrb+ULwASz/Vg1gNLKv7ptSNV9Weli4ZL0M R9xQ== X-Gm-Message-State: ABy/qLZ6cffyoMhcl1ih0E7aKMi3Qu/1HPn5umMUCjr6GM5v4zlSXkdj EI6PFjvLJoRuHnLaMDhOEO+gXhQFhx2cnsmlsAU= X-Received: by 2002:aa7:d6ce:0:b0:51e:1a47:3e3a with SMTP id x14-20020aa7d6ce000000b0051e1a473e3amr14094578edr.18.1689044322647; Mon, 10 Jul 2023 19:58:42 -0700 (PDT) MIME-Version: 1.0 References: <20230710080348.4137875-2-chunyan.zhang@unisoc.com> <69d56da8-9530-e729-d527-89879d2bab06@web.de> In-Reply-To: <69d56da8-9530-e729-d527-89879d2bab06@web.de> From: Chunyan Zhang Date: Tue, 11 Jul 2023 10:58:05 +0800 Message-ID: Subject: Re: [PATCH 2/2] serial: sprd: Fix DMA buffer leak issue To: Markus Elfring Cc: Chunyan Zhang , linux-serial@vger.kernel.org, kernel-janitors@vger.kernel.org, Baolin Wang , Greg Kroah-Hartman , Jiri Slaby , LKML , Orson Zhai Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Mon, 10 Jul 2023 at 19:36, Markus Elfring wrote: > > > Release DMA buffer when _probe() returns fail to avoid memory leak. > > I would appreciate if this change description can be improved another bit. > I will try my best. > > Will a cover letter become helpful also for the presented small patch series? These two patches are all fixes and describe the details in each, that's why I didn't write a cover letter which I don't think can provide more useful information. Thanks for your review, Chunyan > > Regards, > Markus