Received: by 10.223.164.202 with SMTP id h10csp1226956wrb; Thu, 23 Nov 2017 13:51:09 -0800 (PST) X-Google-Smtp-Source: AGs4zMY04bmwoKyBmoahAoydMU3kdGdymUWa0Kw/4Rasg4efcL4TCluXqZlmHzhYTsw/bsUXhmg/ X-Received: by 10.98.159.16 with SMTP id g16mr13314103pfe.53.1511473869460; Thu, 23 Nov 2017 13:51:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511473869; cv=none; d=google.com; s=arc-20160816; b=t131s9USYvgvfnRFyaW0wfqrgpHDboXh4nS94CoRMM7L+IZ+9eh3VBy85o6ocot1yI Ik97Hgv69i4fJMQFtIEpl3DTILSH1EKDL7AM7kmsD1Nr3uXQO2r0Zw+Tchy9cMpnit0x HLPQ3fMTiLLpMpdhNlVtD+SQzD70jUw0kYbmOGG1EflffK1LVzrB/n/p1062iyPRWxSR AKUpz5f1WrmDZdvqQJZ2OUuvK+Nc6F4a6ua5t4NwaQmD45cQe8LXEyHYY5rZrOKfu7Vd 32+tLdzVu2JYdQHTu+yiHOS4cXM0uTWaO+6NnCgIEaPyTooPxKaJdAhgjFhGzXnXVDiT I5XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=4qShSJV99C1epi9pb9j2K0TSaIFWlT8Q6ac/YoulFKo=; b=sFkI2lPIn9dx/0eNzg9AOl/kRJufwzoZgnP9KmGikeVoX9gyr7BdIKOoTlL3MA+E1L hFgVF9fValbSh+GnbplHSWnV+abwBY3kca9yiSNqAOkqRENTmVWJluN3mQnewMDjDqu7 p6z6UhVKbQ1Ow250B1KfLPRvze/GctA4vNdz3BbYOHbXQNIxXOTIKmg+KU5M7VVOQbhx Oza5tF+t0sFTmMFLlZKv6bZ8LXkvCaYk2jrgBHp1PgTja46q/yIuRjNOqA1DVaTokBrn OSXT48svMG6hIxsJQ+UWy60mlojL8X1+xv0v98eQwo4xYGdm6tP0nVmF4oaKZVoBNfeN mkjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lNk/Zifg; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a14si17489980plt.567.2017.11.23.13.50.58; Thu, 23 Nov 2017 13:51:09 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=lNk/Zifg; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753411AbdKWVuO (ORCPT + 73 others); Thu, 23 Nov 2017 16:50:14 -0500 Received: from mail-lf0-f67.google.com ([209.85.215.67]:40764 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753333AbdKWVuN (ORCPT ); Thu, 23 Nov 2017 16:50:13 -0500 Received: by mail-lf0-f67.google.com with SMTP id d10so12312185lfj.7 for ; Thu, 23 Nov 2017 13:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=4qShSJV99C1epi9pb9j2K0TSaIFWlT8Q6ac/YoulFKo=; b=lNk/ZifgeURT5wlVRej7488KOZ4Qq4aNQhl4+j2gxpNkgfKVV2y1MSGil2Ay1D/bFd ux1+Gv8zWLZqzXfVYAGyZSKVHkXbQe/iJ93WeggYTlHT+YqMtyvr+Ms/MiB86VCugSoU XkDkZUpf5AzABGIFXkyYU2UQoHuJPwI6/8dyJc0Qc21poeF2lrqDXHoKLh7wlXdu0FJG 1c/GwbDaQvS4AHER1bh5/wziXz6LLX7luVhuqk2rZ7ngu6JAQZIbnvcZvrX75Dq5LFnf 6cZpM/Lh7U1GkW+fn+QZkQFoKd1h6CRSb0nsMKsEmh0dfm5C0ApcFff8PiZZD5a+dxQy D8hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=4qShSJV99C1epi9pb9j2K0TSaIFWlT8Q6ac/YoulFKo=; b=mDzuvuuA/vWRiW8/PtdqlLPAq4ZB5ANjdPzbFfcSimG3Z3VaLx5uMQz6UU4ol58hx8 52FlQRVjixkV/fr97boU8yDCkDtbdc7FXebJnWSmthMMaIsAhUtDcz+wbqQy8Nmm7oP+ tQfCdvXz+3lCM2WUa4xhfn9HYiOyq+OJTnMjyiLRliGl5QkpeFm9n8PBJCNsaHqcLqup cPmjoEueeGPbkw2PXruflZwsUqwlHzN1b2C1s+3/fmhNVPAWjp21GMwV9N0LNGhW6cJt ZjpX6XSaoaf2pimbJLAFdKlDQ8YbSVHYm/wVB84X5Bln311+5fUxz2GzFXHg0f5TaBVv /rug== X-Gm-Message-State: AJaThX6lbHZ40Q8MRX/eHiUZZxI6Ecz/MEXzlk3trULKsoKE7B7eNU+2 PBmpvcavkh8PaIL5x5JPRow= X-Received: by 10.25.72.135 with SMTP id v129mr7769529lfa.113.1511473812019; Thu, 23 Nov 2017 13:50:12 -0800 (PST) Received: from localhost.localdomain ([195.254.138.66]) by smtp.gmail.com with ESMTPSA id z68sm3603378lje.26.2017.11.23.13.50.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Nov 2017 13:50:09 -0800 (PST) From: Vasyl Gomonovych To: ralf@linux-mips.org, paul.gortmaker@windriver.com, jhogan@kernel.org, linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org, gomonovych@gmail.com Subject: [PATCH] MIPS: TXx9: Add missing iounmap Date: Thu, 23 Nov 2017 22:49:55 +0100 Message-Id: <1511473795-20137-1-git-send-email-gomonovych@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the missing iounmap() before put_device and return from txx9_sramc_init(). Signed-off-by: Vasyl Gomonovych --- arch/mips/txx9/generic/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 1791a44ee570..6ef5edb85d68 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c @@ -965,6 +965,8 @@ void __init txx9_sramc_init(struct resource *r) } return; exit_put: + if (dev->base) + iounmap(dev->base); put_device(&dev->dev); return; } -- 1.9.1 From 1584874275512810712@xxx Thu Nov 23 16:18:11 +0000 2017 X-GM-THRID: 1584065639337699740 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread