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 X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FA05C388F7 for ; Fri, 6 Nov 2020 00:54:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EE4D3221F8 for ; Fri, 6 Nov 2020 00:54:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733048AbgKFAyJ (ORCPT ); Thu, 5 Nov 2020 19:54:09 -0500 Received: from szxga05-in.huawei.com ([45.249.212.191]:7594 "EHLO szxga05-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732537AbgKFAyJ (ORCPT ); Thu, 5 Nov 2020 19:54:09 -0500 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4CS22c5BwxzLt3T; Fri, 6 Nov 2020 08:54:00 +0800 (CST) Received: from [10.174.176.134] (10.174.176.134) by smtp.huawei.com (10.3.19.213) with Microsoft SMTP Server (TLS) id 14.3.487.0; Fri, 6 Nov 2020 08:54:03 +0800 Subject: Re: [PATCH] mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_chip_i2c() To: Markus Elfring , Lee Jones References: <20201104063158.102048-1-jingxiangfeng@huawei.com> CC: , From: Jing Xiangfeng Message-ID: <5FA49EAB.2020308@huawei.com> Date: Fri, 6 Nov 2020 08:54:03 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.174.176.134] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020/11/4 14:50, Markus Elfring wrote: >> htcpld_register_chip_i2c() misses to call i2c_put_adapter() in an error >> path. Add the missed function call to fix it. > Would you like to add the tag “Fixes”? OK, I'll send a v2 with it. Thanks > > Regards, > Markus > . >