Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp6517218rwr; Mon, 24 Apr 2023 22:46:47 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcA+c+Vt8zfgWLc7lTY+O1A1ElX5Te6w9GKysRkhI9GmIP228b7Gf3jTh9Wq9HJ266oNxK X-Received: by 2002:a17:902:e886:b0:1a8:13fc:a654 with SMTP id w6-20020a170902e88600b001a813fca654mr18808000plg.25.1682401607371; Mon, 24 Apr 2023 22:46:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682401607; cv=none; d=google.com; s=arc-20160816; b=VH5GXyeeHc4ihwmZDNJmyZNWLoZG+PIKFWe1KKExkvDarAjeDocM2E02UBxjaquJSJ onKs3rUpf5OzLUg1OAJ0jCJdnzRFtNH46lBTUP5ghJP2kB3GBNDyRCoVb99O8MYWLFVy NmBsNE5bRuLJdCYMzPnhD6ki03fjGePDGhlZK+qY+YV4EAPnV1OEqFs1ARhCXzXj19Z2 CI+JC7w9VVnsqEtU+cEHWYWJFsFPVE7nMaAfq33iI1OlKByET98B1CCZKqcyjIiR9IZ9 rK3fkSZs2CsNlx/FoJf7XZ4OBFKt7v2TsVK5ETC2BdxNbaI4mYCK0CbJvz+Oc++SGgxi /aIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:subject:user-agent:mime-version:date:message-id; bh=8JSQVL42vE1xLsSD+TGoc3hB35Bmkvx9LTmo3Ij+n/o=; b=NDz/8via0dqdTYSGdswabzcohz0bqJAkFu2dNGopytPR6RM74kBt7n5zvAYCUNWN1T vXsfvDWZ+GA1V99mxzfLPbjbSQCeAgkqgRBipo6WcBT0yloh9C95sU2ob6ksl0eV0ZZU ID9IZ3lpHHfKifnQbucIL02C0jHhZJsu4eCPR4Ck6KuBU2WN4R4Tf6qxfrOP6tQ/qR4k QbZGffnxCtzzEjouUjMkg37rM+HrpN/r17me530DZcaiFFcQzf9v6iM9M6aRCOlep0kZ eeKsmNWNHnr0w/Z/sQjG8oIIgyYua7J75tfgwdlWtSvLKsZhHzStu1yJMUrkr3sduXKf HajA== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b15-20020a170902d50f00b001a987c1bf5esi1863947plg.270.2023.04.24.22.46.35; Mon, 24 Apr 2023 22:46:47 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233273AbjDYFdj (ORCPT + 99 others); Tue, 25 Apr 2023 01:33:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230491AbjDYFdi (ORCPT ); Tue, 25 Apr 2023 01:33:38 -0400 Received: from hust.edu.cn (unknown [202.114.0.240]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C2F117A9C; Mon, 24 Apr 2023 22:33:36 -0700 (PDT) Received: from [IPV6:2001:250:4000:5113:4158:5222:9d70:d70b] ([172.16.0.254]) (user=dzm91@hust.edu.cn mech=PLAIN bits=0) by mx1.hust.edu.cn with ESMTP id 33P5WZnI010549-33P5WZnJ010549 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Tue, 25 Apr 2023 13:32:36 +0800 Message-ID: <9c09cb12-05d1-7c50-0d99-945fd384e3a3@hust.edu.cn> Date: Tue, 25 Apr 2023 13:32:35 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2] usb: phy: phy-tahvo: fix memory leak in tahvo_usb_probe() To: Greg KH , ktestrobot@126.com, U201911841@hust.edu.cn Cc: lidaxian@hust.edu.cn, hust-os-kernel-patches@googlegroups.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, balbi@kernel.org, s.shtylyov@omp.ru References: <644741EB.013E97.00008@m126.mail.126.com> From: Dongliang Mu In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-FEAS-AUTH-USER: dzm91@hust.edu.cn X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_PASS,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 2023/4/25 13:15, Greg KH wrote: > On Tue, Apr 25, 2023 at 10:58:51AM +0800, ktestrobot@126.com wrote: >> Hi, Li Yang >> This email is automatically replied by KTestRobot(Beta). Please do not reply to this email. > But I will! > >> If you have any questions or suggestions about KTestRobot, please contact ZhongYong > First question, why are you responding from an email that is not allowed > to be responded to and forced to have us manually add an address? > That's not very nice or helpful for us who have to see these messages, > please fix that. Hi greg, thanks for your feedback. This robot is only used for our internal patch review. It should not send any email out to Linux kernel mailing list. Why does this situation (this testing robot mistakenly sent emails to the kernel mailing list) occur? Because Zhong Yong who is responsible for this testing robot does not classify patches which are sent to kernel mailing list and which are still in the internal review. Sorry about this false alarm. > >> --- Changed Paths --- >> drivers/usb/phy/phy-tahvo.c >> --- Log Message --- >> Smatch reports: >> drivers/usb/phy/phy-tahvo.c: tahvo_usb_probe() >> warn: missing unwind goto? >> >> After geting irq, if ret < 0, it will return without error handling to >> free memory. >> Just add error handling to fix this problem. >> >> --- Test Result --- >> *** CheckPatch PASS *** >> *** CheckSmatch PASS *** >> *** ApplyToLinuxNext PASS *** > Why is only "does the patch apply" matter for this bot? What is it > supposed to be doing here? Is it going to run on every single patch to > this mailing list, Because we have many newbie students, from first grade to forth grade in our university. They sometimes make mistakes in the patch generation, crafting patches that cannot be applied in the kernel tree. This robot will check all the patches sent to this internal mailing list and report this issue. **But our design is only to use it for internal review. It should not send any emails to kernel mailing list.** > and if so, how can we turn it off as "it applied!" is > a very very low bar to be testing something for, and we already have a > bot that does this. This bot is only used for our internal review mailing list, and **again** it will not send any emails to kernel maintainers. It is because the student missed an important logic: filter out the patches that are already sent for external review. Really sorry about this situation. Dongliang Mu > > thanks, > > greg k-h