Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2451953ybl; Thu, 9 Jan 2020 13:02:36 -0800 (PST) X-Google-Smtp-Source: APXvYqznvZAgOYz+mIODcdeR8Nw8F5C/jchfcW12uduq05JSgBns9+PnDJPlmKBNQ6gdc9fLi0gf X-Received: by 2002:aca:f456:: with SMTP id s83mr4507877oih.12.1578603756432; Thu, 09 Jan 2020 13:02:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578603756; cv=none; d=google.com; s=arc-20160816; b=epNBQTIVJ8eiUSUQZiXwurxzjuaw2B79eTVVfXxuFSSs5Ria2J2Jd9YQNC/Jh9G7d6 d5XEK5XgC56Xqpfti9rEEfsA2tMqnM2fn737rJXDagTmvbMsI7PHy9aZ4bPOBEeogXaO GWp1jFEHXL1A8C+hRQfAOjtKgn781qSCttihRETqdN+qW3hYuQM3TlDNnxGTYIVtNXhT cUMouvuuEXmj2fi4esj5XJ3eQSKDXmKCioI1fft+mk+hP9VgqE5Elxyp9FZ/iRfYUFdV RV41HsjGMXZnw5+CwPrFUU9OQg59L1HLD0XEkc7/IvE3AIXsho7+tLTjpINFANZpE+M2 8NoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:references:subject:cc:cc:cc :to:from:date:message-id; bh=YWCYqfZo+yiUkXEJo0FwY+2Q6KdpmhtF8II1qMD3w5k=; b=fc6+zwcUshyJ03KGSgP1qj9kxJWeQ0IJTDnkiz7JkVh1ri2/RAU97PA/We+c+3A5vh lMACXeBvbHBtOuqw1psz5lPGKWty8z903YHSwov7sVvRk8NutFd5HkJ0+ifUVIf3Muy3 b9yFvMgKDnV1AIyTWRQ6zCm1M4VtoVEkIhwXfm0bjV+8M5neNLO8HQ5m1crWImKsuoqB oSzqnL2ysJQyNTiNZTKV0MDLoxmudKc/Ko833aHTy/xlFC4WyoGBG8aXY5Qdu08X48UE G48oBUetgxNUud7PBAqe2x/lMHuxLt8OH2MDaFyU4gcOXhBDIDrG6ThZMTRxVq+Cowdq ESgA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 19si4288107oiq.128.2020.01.09.13.02.24; Thu, 09 Jan 2020 13:02:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388621AbgAISwq (ORCPT + 99 others); Thu, 9 Jan 2020 13:52:46 -0500 Received: from mail-pl1-f194.google.com ([209.85.214.194]:45909 "EHLO mail-pl1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730273AbgAISwq (ORCPT ); Thu, 9 Jan 2020 13:52:46 -0500 Received: by mail-pl1-f194.google.com with SMTP id b22so2894214pls.12; Thu, 09 Jan 2020 10:52:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:date:from:to:cc:cc:cc:subject :references:in-reply-to; bh=YWCYqfZo+yiUkXEJo0FwY+2Q6KdpmhtF8II1qMD3w5k=; b=Jjec1r/CNMFUJJBCh/m+XRtesB//lnxJMAppyekeVHlqP15NEgMcWSfU6FW/5GKoq3 XuxD4ZmWF05Ndpxedx/vI8crpQ7njgmTcGk5b6RiVxDXrKKoFcVqN/DSlo3lq7kKP0up MCXaXlHpIXcAD8z5w5HjMHIXSlCEysajan2+31yHBGLam7vCPmCJwD+vILqBSqmpDfUU xaaKMgTAD3TeJNAp9kTzxUQTRNAroRSRIkM78M4/URkqteEWLJ2DwH0ASH5IXkSesRkH INIHLUSOFeTa57+WCzXPFl7en6xlHRsY72FPwJ/YG9mi4uzIN9Psd+TEJZo8MxlUjKex qmmw== X-Gm-Message-State: APjAAAVW0Tvt/pZUcq/MEgMPPjB4nMucjDgeYhJCrNEZ7K5KyPNtpYXu a3lF7hKlXNa2KDD9qaG2S2c= X-Received: by 2002:a17:902:6ac2:: with SMTP id i2mr13212653plt.221.1578595965270; Thu, 09 Jan 2020 10:52:45 -0800 (PST) Received: from localhost (MIPS-TECHNO.ear1.SanJose1.Level3.net. [4.15.122.74]) by smtp.gmail.com with ESMTPSA id n26sm8757397pgd.46.2020.01.09.10.52.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2020 10:52:44 -0800 (PST) Message-ID: <5e17767c.1c69fb81.a8827.4647@mx.google.com> Date: Thu, 09 Jan 2020 10:52:44 -0800 From: Paul Burton To: yu kuai CC: , , , CC: , , , , CC: linux-mips@vger.kernel.org Subject: Re: [PATCH] MIPS: ralink: add missing put_device in ill_acc_of_setup References: <20191225131520.2505-1-yukuai3@huawei.com> In-Reply-To: <20191225131520.2505-1-yukuai3@huawei.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, yu kuai wrote: > If of_find_device_by_node return 0 and ill_acc_of_setup return error, > pdev don't have a corresponding object release. > > Fix it by adding put_device. Applied to mips-next. > commit defed0bbca2c > https://git.kernel.org/mips/c/defed0bbca2c > > Signed-off-by: yu kuai > Signed-off-by: Paul Burton Thanks, Paul [ This message was auto-generated; if you believe anything is incorrect then please email paulburton@kernel.org to report it. ]