From patchwork Wed Jun 14 07:41:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9785605 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CA06760325 for ; Wed, 14 Jun 2017 07:41:55 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BC5A228210 for ; Wed, 14 Jun 2017 07:41:55 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0F5E27FB7; Wed, 14 Jun 2017 07:41:55 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED39027FB7 for ; Wed, 14 Jun 2017 07:41:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754483AbdFNHly (ORCPT ); Wed, 14 Jun 2017 03:41:54 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:64481 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754476AbdFNHlx (ORCPT ); Wed, 14 Jun 2017 03:41:53 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 14 Jun 2017 16:41:45 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id B9C7674424; Wed, 14 Jun 2017 16:41:45 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.39,340,1493650800"; d="scan'208";a="246536683" Received: from mail-pu1apc01lp0017.outbound.protection.outlook.com (HELO APC01-PU1-obe.outbound.protection.outlook.com) ([65.55.88.17]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA256; 14 Jun 2017 16:41:45 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NDY3jORZT3DIbCVy+OOMgXXNFPZJWWHd+XoGvsCZBT0=; b=ovMIjmEh9fD0LE3nwfPSOvMLGgdTsBMD89qiv48VAX3CRDaTIP01QKM+oPRlPbUyHr3njCS08ftlRqglsOlEe3o6Db+f/h29AgrsMysBm3yzlSDtDknoVzp3xywar4N77Jp5V1xmL4+bHvozs+di0LzhfLvnVhpBE6F01Plw2xA= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by PS1PR0601MB1881.apcprd06.prod.outlook.com (2603:1096:803:8::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Wed, 14 Jun 2017 07:41:43 +0000 Message-ID: <87h8zj81hl.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH] ASoC: rsnd: reduce confusable macro parameter magic User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Mark Brown CC: Linux-ALSA , Simon , MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 14 Jun 2017 07:41:43 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: HK2PR0201CA0029.apcprd02.prod.outlook.com (2a01:111:e400:5217::39) To PS1PR0601MB1881.apcprd06.prod.outlook.com (2603:1096:803:8::19) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PS1PR0601MB1881: X-MS-Office365-Filtering-Correlation-Id: 25e63d30-5ddd-46b3-475b-08d4b2f8cdda X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(48565401081)(201703131423075)(201703031133081); SRVR:PS1PR0601MB1881; X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1881; 3:++AbK878BNzp5PB3ygONZ9cWJxpt2QTZfATGhgqSTBkrqYKdmCdhZ5WjHUHjMiqLlGnTdoWkgGN5m2Io5kInVgDoDtDaTIEeUiGQTqqPMVGItRtGkXOlB6DzmJCWF+rpuXvbANbIgDOKAomPwsK2tvNG+Pc9VJihXP8Dq5uD2c6Ly+XaKrApuBhNCyObwhtMaJQJ3od1yixTzZY+7Q2d0cnvZdS1Ps+qBYOnTJrAStdkmnyWYVokjQyXLCMkNFImuXo3Pkp48ZjPoBsB2SaebujwdPkvL4Tgk95OJbWjvXHUU+39YGVN84M837cgfguSc3pmKFqFfRnJLkTvqeSK4TE73895xuzEWRTuMAUJm2s=; 25:UxioEB6toiP8MFkTGv//QqtmOl76S1ZW/lg0IKLsI5OINQvNQ9EaXrzhdUE0ivMwZgvQKTlc1gDFE45t+8gQ2dsHHRU+wfZcz1JyaPlNLG23/x6CvLXO7o/KABLRaNN61gpYNCzP0fDihXdfhk9AFPSjvXVVk0wHSU6inHLwbtE4Ejo++DdWboswKgLzG+uxJTYycIcea2xGHt8oFioeFN4uH/PVvvqb4w7hXtrlUJPvFrDDQQzLrhhCI98JRMzwINCdzNUUB1OBQMAoXxBcqFrOU8eO7PxlxdSASlerkC35b9UDGnma3KU9hPCXFxZHJ8JJCRMim4rEDeTa11A3koxATbBOyh4+sUqHRifOhsny+Lvizd/f+0IB8AY+PCwO3Ax+nn5ew+jBQR31rpygYCAmF6jPjqRUv6KTJdnr0Ho7jl+/tTw3tUoRo4uk4fjTy9FJTJ3OAryAsiSHItNpdor70oQF6e4C5eb4yuPzwG8= X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1881; 31:yP25NcCww7/81JWGdJkN1Fq313ZfmHC14RhJsdwJXF4E4bt/4MtSb9yutr1wI9J+05/2+ciy7iigij9Jnmp2+hGk8HyZw5/TZvXBSq3Eqg9UgDaqywXHGPw3ZRdhL7xJnMbA9Pn5OMAVJEsreYS40pfxdEOQcEdCUqttzfM9S3ROUocAinhhnjBbclhzHQq8YyJiM0Qast8UQ7i9KpRdpUynAoX5Ssl9X33Zof6+Ty5KsXO7D0qWZ0vZ9UnkiH7/L+qbv0WX1QFdTjMRGIi+gQ==; 20:VB2ju0K30LGE/gnIoX16NPcFzPtQ7MnlSMOiFIfEDVtXIC/fVQRBq3dU/OOmH9eguVj2MHgpx/OZcd3r04JDu4PuQdIOQS7AbldsQLFGMu4jQDTWxS5XJHKHLBwXZcGkkyy68ErjLsVBrVcwZGPXhAi+z3Lq1aeZnHvNu7iocCSENPMkMdH/O4Zj/sLvGDasypaXvfxdEx3+5MFPgckKoTqsMDo5nVkRIeEZcHZd67BmC3RpacEvUOCzHDnTSK6yu6K590XN2n0wmOF0Buyyvm6O30YbVof4+oLTMwhDrRgYXrt909hAu3BvGJdE7cS11FWewK/UskKp+xj7wtSpqZ/EbvjSCNWfr6zkTv9b9ddTF5RF9F0AozO4WVFpVlvU3qlQ2s+tjfMIsVldADIouDJAjfKvUGmmhKst+mv4ccjFNJWZ5zVL+bl5oAEWhW5jnSVyhEIOyfK9YgrHnoENvlCeJcSz33tZJSGv4MGHZ1SursG0Qw00iD/6cEzOCu/T X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(10201501046)(93006095)(93001095)(6055026)(6041248)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123562025)(20161123564025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:PS1PR0601MB1881; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:PS1PR0601MB1881; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; PS1PR0601MB1881; 4:4/LBuDVc+4sml3f39CuQb5gxofHH08WD9/ixUgmf?= =?us-ascii?Q?imBt81Zi5Yg/Y30H/1EueyltI0+boixVOe6y1EHGWSUXglB9htZkeKSlvvdX?= =?us-ascii?Q?p+nu9lrpIMqQPDzNDGMZKUXC8XdVd+XNPG9V23MNAKXEwhEuf+3Za6XrbUOA?= =?us-ascii?Q?dkPr4vLIJh9kmJjqI/R9FFr7ihXcY1rTQk5VlD2Mqf6iMzxV6d3kpetG5nYz?= =?us-ascii?Q?K+lPiPyeiwhRWzheVICiQTqfKBKzldHZ5eC7d3E1Z9+QMbb3X38zzCxGHRk3?= =?us-ascii?Q?rVSunYJqJ6tEo1HpvDnLC1q3VwJdcsPJS+eLd6VyTC9qM/8za/CU3kLsj7PX?= =?us-ascii?Q?Do1f6uPiatuWBZmjibMzJ3zwSrFeEba1/l8iDW/JfBCg3n42j4w52Kkl/Ju2?= =?us-ascii?Q?nKnCgyj+BlKkHr50p5cnr7iE1+hLqoK/HHbbameZd7j7Qh+ocepQbRq3JHeY?= =?us-ascii?Q?NeSrD4vHPZSH8+cKHif6/sx4pBrAKS3T6/MVPXVEyJ0fvW31WXNYt7AeTEBr?= =?us-ascii?Q?J69VIJhQ4bYdG0HrzKXvP8XQdhWhn0Xo6E1xr3alI2RUZuwdNZuvzwShRblB?= =?us-ascii?Q?qSVxovzXnkUfOs1iHXaGmekR+BpepUoMtj3n+b+O9kAtSVYCBukMpQuK64+d?= =?us-ascii?Q?gyQAXkXXlBSO7+SnpR+CePOgyAtKqM0K2HTHoTsX//+QkEnuByMwrA1OtiEW?= =?us-ascii?Q?eKhnanxzerFsARSVRG0K1fa/lwiHMZqr/wENmvTWf8QOYEgGKQ+Wov32HyU3?= =?us-ascii?Q?QUOXyMVxDwrPXjCDyBWSmpLmtDIvEeHl9EXFpcgK00NIT75eaJRb3IG3TIHa?= =?us-ascii?Q?PxdHgsYqdBweIgSoqTf1cnELmtThBcVHVMa29QzpcPXkLq2hL1KuIzExvTYF?= =?us-ascii?Q?zQzt9V/1U2amnuETz3DHf+Sg2byef4le7/yp1SI9OJoaNGGfrFfHaEEpgWvC?= =?us-ascii?Q?q3tbrU6cmBs/x1Un7RAB3KNd7v6SNH3TeO6tJ2Xr22vxjuenc87gGdfQOJIE?= =?us-ascii?Q?KQ+DacsuWgQoMwFmrMSdSVzTPWZ8/YIwcq9MGmvazTHUnlmF6k6tgfUQt0jn?= =?us-ascii?Q?tc1Na29gSsZzH1O+Cyrln0NOhDyUmEG8y/wbvLeC9xywZaLStyDjqLaTAKpg?= =?us-ascii?Q?VYoCpMliXau1N12HuQUpsvwyisAMuLlKds1FyypebA/ITeVSAoW9QQ=3D=3D?= X-Forefront-PRVS: 033857D0BD X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(39410400002)(39400400002)(39450400003)(39850400002)(39840400002)(39860400002)(36756003)(81166006)(50466002)(47776003)(8676002)(4326008)(25786009)(2906002)(86362001)(46406003)(4001350100001)(66066001)(83506001)(478600001)(38730400002)(305945005)(54906002)(42186005)(5660300001)(189998001)(7736002)(53416004)(110136004)(6486002)(6916009)(8746002)(6116002)(23726003)(33646002)(54356999)(50986999)(53936002)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:PS1PR0601MB1881; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; PS1PR0601MB1881; 23:z184BL3sqOYYeu87/hXEYtRk9z9pHZeBYTIet8C?= =?us-ascii?Q?byJ0O9693ma4YfVVg6c4eCx2WPQqo5altWhNDtmWC125Q8N4rLQsaGzzoZO+?= =?us-ascii?Q?w7422Ewag/kxDYT1QPFMH1/MITPnskxJTZhXttGJbn/7d9hjal7iU51+afk3?= =?us-ascii?Q?Gwe2+t2J1JR03l3lRr41cMwFVRHHAbPJ+ZY1abpcdXx/oOfCOs+jLceoivBD?= =?us-ascii?Q?R4tcUSxw9tVhtFiFco/t8B6kSlvmdFHmo0O+rE9kH0IvbjAHmqCsS40AZIns?= =?us-ascii?Q?z7UQCTCeChGUHgpw5h+SxkAJygAh2sVotMVtFXGGhbup4bTOLc+YcFLGtns3?= =?us-ascii?Q?3RyP6dt18xuix80V5g9OjSNyPf33FgSRMZQvNwuvtT3Fq4BLAgQtGpRJoTCq?= =?us-ascii?Q?EsgZkTmFvDSY1EspDOYSmYao2A4To/J9rHymRejTVGV6F4tOTUiLf9OdTapu?= =?us-ascii?Q?V/kZ83hf13plQua9oztcp3FDTMIowsCDWewxy/e5v5OrjajnRlozyUiuDkmL?= =?us-ascii?Q?+ImfLazt+3PzelYZfWYabwyvbHDb0sct/ePIrGc8uZj5MSnU/iIe+n8Y79S/?= =?us-ascii?Q?IMfMNLnNi21inspTRvgZImTjApttWS/YkxbJvtKBhvVcsPy4n3nvuq7bjBVT?= =?us-ascii?Q?+MkdghxTTlTD+L8eq801AfgOT/aMchLEdCXveXL86wclDNtEDkl9R45w3KM+?= =?us-ascii?Q?2B7rtGMPw3uRq1kicnp6ssYgRU0TCOy2CVcQlao206tj3rV4DhNYVXpgv6rI?= =?us-ascii?Q?KNw043ojI44taYuWpdgm6vwov4djpXHAWfMtfzR2wzIkzma9wlJgw4dSdGeQ?= =?us-ascii?Q?VkJ7e2ffrTLJMzOuSRsH4DErvDa2UsHnGnxcJoZ0H8TdtVCtBgf8oNzYth2J?= =?us-ascii?Q?vA+KxfjG5NUmrfRQQ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f4xfx0odgczSxzZSTNYK1+d9Suyx0zalcXfDtUPi+o= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1881; 7:csdNiubz5BxW7ORODM6akMsSFOHoMUEaamnMfjEu3J/+dHB99B1wdkM6LXCbzJGRjL3gwfkKHs4RQ3O7j0dPVdbHq+4UaJqOFX2OUVedhRCMJsiYuVVQ9Sy2KLGa+F6/SnHINBjdV3CjAMRQXnRPOVINtdXWIXRpXlJHjc/0h5ReI9sLcolI8ItkpqPwaCkRFS7+17AH8eQ2nSRywXC/r43W7OF59jA9jwj9n9bUQ1OvZ+09pcWoBWNEyJOsBWk6tL/dzGDVQ41R8fasKfoSMuyY52nCA7GNMCVHC8a3abVHE5dvhkVlYMVteRcxUrM/f27xp9r3kZYRxJ9MHGeCcmeVQMpypvpnlJ2k05gvQm91U5Iw3vCjECt0CJeJTOY0jqLwGbB2429oW91IHJ6bFsO1T/9lKBF6wDEgwAmyUQz5iZ28LFoG2cydzBdHBvDJa3ZywktWqOnI0iJMYERd87QVsu55asVySejhWzdeH95Ih3IuDiA2QqF+vlStHf7WvFNELADi/4WNRDzSDwyeI8OTCn8xyMZs8GiRUHzNScoO7hz8q5HtjrUC82q/Oi4FGt1BZyBDBIqwFjq+rNoyZTjPb441CLbiO3gU6tBzbUqpIsReBJ/eq/2b9kWTB3aVIky+GfNkXLQUSNADGkixyydCWpLVOBFME55a95iKEIOfMYF1aeMauk+58o3P9+m+aRlp7CFfRBrJGW/Mw8v13T86cst9W6o6Pjp9WkhC2032GLQ5gIqHP83N9x6sHVuEOV07EBprVNnuzDUgbrkCGfsM+MV/yTlzn/bKfpRBhyY= X-Microsoft-Exchange-Diagnostics: 1; PS1PR0601MB1881; 20:1ZPoKEJ47ODK2FnLDL/CpsrSO6GaTLKFF3IkII9eFhATWqMOfakCP7EyOgDs2DDNPMVaMzIAgDXbC3BDa0YSCt2MSfqsh74OtyhJj7U7CyrVdNkGgvF89pcQtsmHkbWvn4rOMiulaobbU0X53t0PUnvebc9cb/yNay5nxAt3EY4= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jun 2017 07:41:43.4204 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: PS1PR0601MB1881 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto rsnd_dai_call() macro is using "priv" inside. Thus, if caller function doesn't have "priv" related operation, strange phenomenon occur which code is using "priv", but compiler indicates "unused variable 'priv'". From code point of view, it is not problem, but it is very confusable. This patch removes "priv" from rsnd_dai_call() macro, and adds "priv" on caller function. Signed-off-by: Kuninori Morimoto Tested-by: Hiroyuki Yokoyama --- sound/soc/sh/rcar/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c index e2d554f3..9b9e898 100644 --- a/sound/soc/sh/rcar/core.c +++ b/sound/soc/sh/rcar/core.c @@ -469,8 +469,7 @@ static int rsnd_status_update(u32 *status, #define rsnd_dai_call(fn, io, param...) \ ({ \ - struct rsnd_priv *priv = rsnd_io_to_priv(io); \ - struct device *dev = rsnd_priv_to_dev(priv); \ + struct device *dev = rsnd_priv_to_dev(rsnd_io_to_priv(io)); \ struct rsnd_mod *mod; \ int is_play = rsnd_io_is_play(io); \ int ret = 0, i; \ @@ -741,6 +740,7 @@ static int rsnd_soc_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) { struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); + struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream); int ret; @@ -758,6 +758,7 @@ static void rsnd_soc_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) { struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); + struct rsnd_priv *priv = rsnd_rdai_to_priv(rdai); struct rsnd_dai_stream *io = rsnd_rdai_to_io(rdai, substream); /*