Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3098764yba; Tue, 16 Apr 2019 04:50:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxp6PEMUEmoAJPH//wLEwxfrO6pzH/qJmIaq70CzFJuGDHfe8roqBG7UwY175Ki2ZcN+pdc X-Received: by 2002:a17:902:2d01:: with SMTP id o1mr82448039plb.155.1555415431223; Tue, 16 Apr 2019 04:50:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555415431; cv=none; d=google.com; s=arc-20160816; b=mE+poP4UiuKgIOIL7QQlONvNY8JeNS31Sr+5Y9T0Hiqo12oI7wxslcbDA1IjXzhMXU j9yQHrNS8rEsR6jhNeyym9KelcE5ZoGaGBDuWY0E/G7qTV9YxMoIB0Gz+me95z3ugyCl ffEA3jJ0Tk8FWMPdc0PzgI2jBxKGH4ACLgM3cjW3isiEu0zs52GMtycXUAmJ4MYlx5xf r02VtL/vmzidCmbYjibPytGuxXlLW+genJNo+S4yhUmgYfzfw2XpOvl7ba1qZocC/2+U 3MPULzBmgiW4JVdZQ6jg/2l9IP+hQRRVZ+BWP4s1RzKaGYVDSbR7uZZ689Edj0aYvKyE +fRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=Krs9sHPp8z9MXsmuEgg3g1mrE9joQItvPzXPnHsCuFg=; b=ulBOUtG9zEZJog+rjoiAyIvmYJtOkbh8fQGDdNk33ZrtmjjJ3W/pIe+M13T9o0P3ZE cdhMMhYLPceBkeSb/su3sYI4oWzm3jrW1lV6KXDWcF4O8FtihC6j+DmNCh8nZm6bu4Rp NGz5AbZmJT7hDYdn1Wzk9IzCQBrbKUKt6J9rlbtgpyNdrzDCZIvE7hdbmSbBIv18qUu4 g8eJ+3lI+zfCFt3VJJSsoAMlEnLQAqS9wWXz8mgWU4r+2/R/1lMIhBfqeqVYirzLfrE+ qN9oW0wNTYp6J7Wx7b9SMUE2pza/N/l6Vy3dWALeBreownTeGy7DGN2E89whpOxsT7mQ RURA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=f6bDxc2C; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w19si41491355ply.103.2019.04.16.04.50.15; Tue, 16 Apr 2019 04:50:31 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=f6bDxc2C; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729432AbfDPLtm (ORCPT + 99 others); Tue, 16 Apr 2019 07:49:42 -0400 Received: from mail-lf1-f66.google.com ([209.85.167.66]:36277 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726672AbfDPLtm (ORCPT ); Tue, 16 Apr 2019 07:49:42 -0400 Received: by mail-lf1-f66.google.com with SMTP id u17so15794089lfi.3 for ; Tue, 16 Apr 2019 04:49:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Krs9sHPp8z9MXsmuEgg3g1mrE9joQItvPzXPnHsCuFg=; b=f6bDxc2C5LwhAMiwuCVh0Ci41OtMj5jGhTLGYHR3r7q1hNNDG5Ml5t1cu6ytxQ4MAK kvDS/ykzjKI+hVSlsNOR8pyXE0ywRbHlnb8VGJ2+r7QtFaVOhK4n/HDdgQRNdjDSdsDX D64k2r1oZGKHiBGJTaYBRimhpdUy+aj1JLUAk4QpoJg/L6HwD6vc9HCJCwz7wBA39ODc LDLBHVTos+aBXh0aDtIRfeq5Gi4yTHOsZiooLuD8iQbPAZ5mFOuHemfTIeIG+KUxfVzl uzeQrvghjK4oebOTji5/Kt0Sw3kC0v8Dh/q58IakxT7tNfhmNPCOlyiV9RXgnfWfYcOA ch2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Krs9sHPp8z9MXsmuEgg3g1mrE9joQItvPzXPnHsCuFg=; b=DjIgNzC9xGmHPqTmo0xqtSznUM86GtF8/ifumMPegbZ7jwZlDPS8ISQ/16PqI4d029 Se3D2LgN4fzsaVu1GU6HJyA68Vr3FdptGuDNEenkQNH3wtFD6xSs5MMet6+dUPlvorCP PxvJpJgGa7+09G+J+EraXPOarO/MY1pJc6LFWtQ/LNoy5HOwQ2NePr4sJSFCKuYdCtmh IlN0X6XEkhSsFdCnjNdTxaiBN+ThhXsdQ+MmXTqpDmm9CsHRpZmhMgYzbQ4h7OWk8VCV ITsmpTXKOb0sag7E2o8gpNCqLYIYNJ3eiZ/ExR20qWxXIJRvPcxqGqQkkb70FAjDL5Ne Oc/w== X-Gm-Message-State: APjAAAWtaPBhRMF37/jPa0TT5S4BS2c6UPqb06DqzgOaxNIRZDmw0dcP 95CjDZUH9oXta882t+6ev96/4wlltwQPRfWEWmbdkg== X-Received: by 2002:ac2:4285:: with SMTP id m5mr9268047lfh.103.1555415379792; Tue, 16 Apr 2019 04:49:39 -0700 (PDT) MIME-Version: 1.0 References: <1555139666-948-1-git-send-email-hofrat@osadl.org> <1555139666-948-10-git-send-email-hofrat@osadl.org> In-Reply-To: <1555139666-948-10-git-send-email-hofrat@osadl.org> From: Linus Walleij Date: Tue, 16 Apr 2019 13:49:27 +0200 Message-ID: Subject: Re: [PATCH] ARM: ux500: add missing of_node_put() To: Nicholas Mc Guire Cc: Russell King , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Mark Brown , Tony Lindgren , Mike Rapoport , Janusz Krzysztofik , Linux ARM , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Apr 13, 2019 at 9:20 AM Nicholas Mc Guire wrote: > of_find_compatible_node() returns a pointer with refcount incremented > so both in the error path as well as after usage in soc_info_populate() > respectively actually b8500_read_soc_id() an explicit of_node_put is > needed to release backupram. > > Signed-off-by: Nicholas Mc Guire > Fixes: commit 18a992787896 ("ARM: ux500: move soc_id driver to drivers/soc") Patch applied to my Ux500 tree with Ulf's ACK. Yours, Linus Walleij