Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp652143imm; Thu, 6 Sep 2018 08:07:01 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYlKYkQdzsWFZ405n7Fg4V5L5lZOi8ETttE+jjY5wb1o9Ii8kc8cASUVqTYMjI1Mif9t5y6 X-Received: by 2002:a63:e516:: with SMTP id r22-v6mr3264900pgh.170.1536246421035; Thu, 06 Sep 2018 08:07:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536246421; cv=none; d=google.com; s=arc-20160816; b=PV187YugPlEyDZJpRNyt2Bd+jBy0H6zkZ1ZquqcYI2nBrByYLmaKEN1G4mIfSLk/QP NvkoZFtZR+3CYoM0oZg88V1u8dX/OqwW+Qjf6WPoaW8jIvXFDLbqvyPgWwVs4v0lGpBC yH5SA2O0ImuN3ZbiTpL4rQNPg4Mjb8Ir0EBYQ7LXnx664VTxSxlsdkHA8vXFtkQYiWIi ECW1Jc4HOGRiMNjluH0n7B1nn+LBNte3eakJLN2yRpwoAvMqh1OZ1PNT0/c+26Eq295i TQUOK0OPxX+gWkXzkyE4YI9T8HxrOumOoa3VH103NUJtNkvXDQhract6Lq6Xh1AqRp6J V8uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=rIg88gGjeT/ECrDNsujILCiDQZ9X0IETx9pmPdnIW/A=; b=Zz2Yx6qd/BKFEG4+QuK35nuWruCxFvOExyYIB7hhxJ3+jPDi2StN8kDWGulGOuz3zM 9KJOZqTwA3OzAsTtg9uFP80cOAOdZ1859ql2PUfApAo/wqed33O4bxTn1VRsLss20g4i qYC1Cv1ve/L8t04YdcqIqCPmeabofEIpQZo+GTDurShHtNtJbOfP5HA0n5IX7L7H/XmW aZOYacVrMxL1FaNut0y6eY3ATs1LnI+3zae6Yo3p3M9CKUyvhwqMX5w/L7m5SXywUL2v NCG+eaFrgoKb1bNnzHmQ8D1VBXFIBo/yqPkscIatHXEnlyItr71We2ZL8B+rUjsI8HOm uJXA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g12-v6si5578462pgl.635.2018.09.06.08.06.37; Thu, 06 Sep 2018 08:07:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730254AbeIFTkI (ORCPT + 99 others); Thu, 6 Sep 2018 15:40:08 -0400 Received: from mfdf018.ocn.ad.jp ([153.128.50.74]:48871 "EHLO mfdf018.ocn.ad.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725819AbeIFTkI (ORCPT ); Thu, 6 Sep 2018 15:40:08 -0400 Received: from mogw1033.ocn.ad.jp (mogw1033.ocn.ad.jp [153.149.231.39]) by mfdf018.ocn.ad.jp (Postfix) with ESMTP id 24BD7B81310 for ; Fri, 7 Sep 2018 00:04:11 +0900 (JST) Received: from mf-smf-ucb026c2 (mf-smf-ucb026c2.ocn.ad.jp [153.153.66.167]) by mogw1033.ocn.ad.jp (Postfix) with ESMTP id 868F180023A; Fri, 7 Sep 2018 00:04:08 +0900 (JST) Received: from ntt.pod01.mv-mta-ucb021 ([153.149.142.84]) by mf-smf-ucb026c2 with ESMTP id xvpIfNQqaZVYwxvpIf38J0; Fri, 07 Sep 2018 00:04:08 +0900 Received: from smtp.ocn.ne.jp ([153.149.227.135]) by ntt.pod01.mv-mta-ucb021 with id YF481y0012vuoep01F489c; Thu, 06 Sep 2018 15:04:08 +0000 Received: from localhost (p935071-ipngn2102funabasi.chiba.ocn.ne.jp [180.56.175.71]) by smtp.ocn.ne.jp (Postfix) with ESMTPA; Fri, 7 Sep 2018 00:04:08 +0900 (JST) Date: Fri, 07 Sep 2018 00:04:07 +0900 (JST) Message-Id: <20180907.000407.1493498061297805737.anemo@mba.ocn.ne.jp> To: dingxiang@cmss.chinamobile.com Cc: ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mips: txx9: fix iounmap related issue From: Atsushi Nemoto In-Reply-To: <1536207559-31543-1-git-send-email-dingxiang@cmss.chinamobile.com> References: <1536207559-31543-1-git-send-email-dingxiang@cmss.chinamobile.com> X-Fingerprint: 6ACA 1623 39BD 9A94 9B1A B746 CA77 FE94 2874 D52F X-Pgp-Public-Key: http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0x2874D52F X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 6 Sep 2018 12:19:19 +0800, Ding Xiang wrote: > if device_register return error, iounmap should be called, also iounmap > need to call before put_device. > > Signed-off-by: Ding Xiang > --- > arch/mips/txx9/generic/setup.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) Thank you for fixing this long standing issue. It looks OK for me. Reviewed-by: Atsushi Nemoto --- Atsushi Nemoto