Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp3222583ybz; Mon, 27 Apr 2020 12:09:32 -0700 (PDT) X-Google-Smtp-Source: APiQypL4WPEAelcq6S5MmeYOdHuqYcawCeOoEerzgLeACZcxiuOkFp9PtKZMikAa97/bR1XGTHyZ X-Received: by 2002:a50:e8cb:: with SMTP id l11mr20805654edn.174.1588014572209; Mon, 27 Apr 2020 12:09:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588014572; cv=none; d=google.com; s=arc-20160816; b=K1Bg3gVvsKM1N3bAn6rRwpxgvz/FptW0Gq7/8UUGFFu9Oh+Le24WLv8/GdiRc+XUDb CvXOt+53W8aA8DexCDm9KjKnDz6Qbm7JG2wO/kPgLnlVVpAGO1eBvyj9jtskjdYiZ9Vy 1Z7moBL5fAfbeGnSnRRcbHbFLGf77IGWaHqwvxMOeV2tIjjM3GMSMFoCIyYN9t4z12aw omVT4sVH9vv0IcpHsiVcqb/T4DwPVxvUJQVdxh5FvNRR+lEKR1K6pl0tlet7XbwooT1K cSyQ0qgBo8IvFHw9Q+wXQSxF0O1WnGxtWltVANFrlvPBKy2Nb1nz/SVPAk80Bi56y8cK oD7w== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=FZZr/uE2hTuM5pu2r5aXLhMCx8nc6adhDHFuFcVEsyA=; b=OQu5e0thc1ORFDMuPMIdEEBS/X2YRnZ/4rQqFRn54ZqfS6mhmeRVQrfVnfgKVmjGM7 EqGAYi+Vq6IkLsggtD7HX6AtWCiTYowrdwgiQzCI4QLL5w45wKam9YC5mSb276d15A2S Jq1ujg1MYCi3LRot99ui1v9ms2aqiTt6brOtdlw3oiX2MkMKMG3I1wYf9JAB7D/4xYRU LMfBwE4GcxN5hvr2uhqWbKUJ9WoZ4qba/PGQTYSG/K82IOgIX7eYEg6wc+VzvS4PEB2s zDIGXlHCnNBDn0zdNSut+lTJQisfxc31VCFS2u5TMqXLieat/5q4t0u8IyreuE2Tg0+A T9iA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b="WA1/jIwe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h20si265934eds.141.2020.04.27.12.09.08; Mon, 27 Apr 2020 12:09:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b="WA1/jIwe"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726620AbgD0THH (ORCPT + 99 others); Mon, 27 Apr 2020 15:07:07 -0400 Received: from gateway31.websitewelcome.com ([192.185.144.91]:23659 "EHLO gateway31.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726315AbgD0THH (ORCPT ); Mon, 27 Apr 2020 15:07:07 -0400 X-Greylist: delayed 491 seconds by postgrey-1.27 at vger.kernel.org; Mon, 27 Apr 2020 15:07:06 EDT Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway31.websitewelcome.com (Postfix) with ESMTP id DDB62103C3 for ; Mon, 27 Apr 2020 14:07:05 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id T95tjMd4KVQh0T95tjUWkL; Mon, 27 Apr 2020 14:07:05 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=FZZr/uE2hTuM5pu2r5aXLhMCx8nc6adhDHFuFcVEsyA=; b=WA1/jIwebfelRf4LEBvLyycLnu DV/Lk2mdT0rMwm89mbuBPayhi7Z1kuizZM3sc0zKUjWxIg/EBCqQGsoEqA2TXU4ttL6J0ojveIFCP O4q+14phcbmeFrOVmbasMNyIymsS9v7Nxbm251DiXE3MruSDx6QgKzl/kOkIGNDurXRK/9KAgI384 +HTdwE6usPu5/cX44OoHNi96ns2pp3MvPqgpYciB87rgqeY2ZT7mVT8hPmP14Ferkkhe/W4kmKOpU hNEGE9e3it8BbPA2o7NrvbuKtQaYfaPn8OMuhbEgcc3J4eVFeAp7aCdlj6d68TDsZR/uUN9g9gcKh /CJWSWJQ==; Received: from [201.162.241.110] (port=23532 helo=[192.168.43.132]) by gator4166.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1jT95t-000fE1-F5; Mon, 27 Apr 2020 14:07:05 -0500 Subject: Re: [PATCH 3/3] mtd: lpddr: Move function print_drs_error to lpddr_cmds.c To: Joe Perches , linux-kernel@vger.kernel.org Cc: Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , linux-mtd@lists.infradead.org References: <5cc0d2e83e971693d974235608c8d96fe94c849d.1588013366.git.gustavo@embeddedor.com> From: "Gustavo A. R. Silva" Autocrypt: addr=gustavo@embeddedor.com; keydata= xsFNBFssHAwBEADIy3ZoPq3z5UpsUknd2v+IQud4TMJnJLTeXgTf4biSDSrXn73JQgsISBwG 2Pm4wnOyEgYUyJd5tRW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YAQgADwUCWywcDAIbDAUJCWYBgAAKCRBHBbTLRwbbMdsZEACUjmsJx2CAY+QS UMebQRFjKavwXB/xE7fTt2ahuhHT8qQ/lWuRQedg4baInw9nhoPE+VenOzhGeGlsJ0Ys52sd XvUjUocKgUQq6ekOHbcw919nO5L9J2ejMf/VC/quN3r3xijgRtmuuwZjmmi8ct24TpGeoBK4 WrZGh/1hAYw4ieARvKvgjXRstcEqM5thUNkOOIheud/VpY+48QcccPKbngy//zNJWKbRbeVn imua0OpqRXhCrEVm/xomeOvl1WK1BVO7z8DjSdEBGzbV76sPDJb/fw+y+VWrkEiddD/9CSfg fBNOb1p1jVnT2mFgGneIWbU0zdDGhleI9UoQTr0e0b/7TU+Jo6TqwosP9nbk5hXw6uR5k5PF 8ieyHVq3qatJ9K1jPkBr8YWtI5uNwJJjTKIA1jHlj8McROroxMdI6qZ/wZ1ImuylpJuJwCDC ORYf5kW61fcrHEDlIvGc371OOvw6ejF8ksX5+L2zwh43l/pKkSVGFpxtMV6d6J3eqwTafL86 YJWH93PN+ZUh6i6Rd2U/i8jH5WvzR57UeWxE4P8bQc0hNGrUsHQH6bpHV2lbuhDdqo+cM9eh GZEO3+gCDFmKrjspZjkJbB5Gadzvts5fcWGOXEvuT8uQSvl+vEL0g6vczsyPBtqoBLa9SNrS VtSixD1uOgytAP7RWS474w== Message-ID: <3a6e7112-341f-6c98-70b7-0a43c3106464@embeddedor.com> Date: Mon, 27 Apr 2020 14:11:22 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 201.162.241.110 X-Source-L: No X-Exim-ID: 1jT95t-000fE1-F5 X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: ([192.168.43.132]) [201.162.241.110]:23532 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 14 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/27/20 14:03, Joe Perches wrote: > On Mon, 2020-04-27 at 14:04 -0500, Gustavo A. R. Silva wrote: >> Function print_drs_error is only used in drivers/mtd/lpddr/lpddr_cmds.c >> so, better to move it there. > [] >> diff --git a/drivers/mtd/lpddr/lpddr_cmds.c b/drivers/mtd/lpddr/lpddr_cmds.c > [] >> @@ -94,6 +94,39 @@ struct mtd_info *lpddr_cmdset(struct map_info *map) >> } >> EXPORT_SYMBOL(lpddr_cmdset); >> >> +static inline void print_drs_error(unsigned int dsr) > > There's no need for inline as it's used once. > That's correct. I didn't notice that at first sight. I'll remove it in V2. Thanks -- Gustavo