Message ID | 1511873595-29238-2-git-send-email-michael.hennerich@analog.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-wpan-owner@kernel.org> 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 A911D60353 for <patchwork-linux-wpan@patchwork.kernel.org>; Tue, 28 Nov 2017 12:50:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D5A852906B for <patchwork-linux-wpan@patchwork.kernel.org>; Tue, 28 Nov 2017 12:50:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CA52129201; Tue, 28 Nov 2017 12:50:43 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 695712912C for <patchwork-linux-wpan@patchwork.kernel.org>; Tue, 28 Nov 2017 12:50:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751377AbdK1Mum (ORCPT <rfc822;patchwork-linux-wpan@patchwork.kernel.org>); Tue, 28 Nov 2017 07:50:42 -0500 Received: from mail-by2nam03on0084.outbound.protection.outlook.com ([104.47.42.84]:45760 "EHLO NAM03-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751239AbdK1Muk (ORCPT <rfc822;linux-wpan@vger.kernel.org>); Tue, 28 Nov 2017 07:50:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector1-analog-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=tyEHgtpIy3EpVAyZP2KGfA2CHS3S9oHQCe1ZpOKcZF4=; b=VSHXambMwOVskdGiqZSy6/KddsNE07JIQwkoZBcxYtdFtaOgJ1aii4aLx8R+jfgiLLOaWgDIQZs+SRnL3aHKcGZGCh6KYsjKHWb8MIl5CRe+qulj3BwPSZyWe9iBCylsXL32uDpKb5fJqWCsrd3GXs2DmBxsPtavgnLmwHPqnM8= Received: from BN6PR03CA0078.namprd03.prod.outlook.com (10.164.122.144) by BY2PR0301MB2056.namprd03.prod.outlook.com (10.163.196.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.260.4; Tue, 28 Nov 2017 12:50:38 +0000 Received: from BY2FFO11FD045.protection.gbl (2a01:111:f400:7c0c::166) by BN6PR03CA0078.outlook.office365.com (2603:10b6:405:6f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.260.4 via Frontend Transport; Tue, 28 Nov 2017 12:50:37 +0000 Authentication-Results: spf=pass (sender IP is 137.71.25.55) smtp.mailfrom=analog.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=analog.com; Received-SPF: Pass (protection.outlook.com: domain of analog.com designates 137.71.25.55 as permitted sender) receiver=protection.outlook.com; client-ip=137.71.25.55; helo=nwd2mta1.analog.com; Received: from nwd2mta1.analog.com (137.71.25.55) by BY2FFO11FD045.mail.protection.outlook.com (10.1.15.177) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.218.12 via Frontend Transport; Tue, 28 Nov 2017 12:50:37 +0000 Received: from NWD2HUBCAS8.ad.analog.com (nwd2hubcas8.ad.analog.com [10.64.69.108]) by nwd2mta1.analog.com (8.13.8/8.13.8) with ESMTP id vASCoaO2013475 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 28 Nov 2017 04:50:36 -0800 Received: from zeus.spd.analog.com (10.64.82.11) by NWD2HUBCAS8.ad.analog.com (10.64.69.108) with Microsoft SMTP Server id 14.3.301.0; Tue, 28 Nov 2017 07:50:35 -0500 Received: from mhenneri-D04.ad.analog.com ([10.44.3.40]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id vASCoXv8011793; Tue, 28 Nov 2017 07:50:34 -0500 From: <michael.hennerich@analog.com> To: <alex.aring@gmail.com>, <stefan@osg.samsung.com> CC: <linux-wpan@vger.kernel.org>, Michael Hennerich <michael.hennerich@analog.com> Subject: [PATCH 2/5] net: ieee802154: adf7242: Fix bug if defined DEBUG Date: Tue, 28 Nov 2017 13:53:12 +0100 Message-ID: <1511873595-29238-2-git-send-email-michael.hennerich@analog.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511873595-29238-1-git-send-email-michael.hennerich@analog.com> References: <1511873595-29238-1-git-send-email-michael.hennerich@analog.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:137.71.25.55; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(346002)(376002)(2980300002)(438002)(189002)(199003)(76176999)(51416003)(86152003)(50986999)(50466002)(189998001)(47776003)(2906002)(106466001)(77096006)(33646002)(6666003)(48376002)(5660300001)(2950100002)(110136005)(50226002)(39060400002)(316002)(72206003)(478600001)(8936002)(305945005)(54906003)(106002)(246002)(356003)(2876002)(7636002)(107886003)(8676002)(4326008)(86362001)(36756003)(16586007)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR0301MB2056; H:nwd2mta1.analog.com; FPR:; SPF:Pass; PTR:nwd2mail10.analog.com; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD045; 1:/La/wtTlWtOJ5x7/4K/bziFIRV9lhDAJI69FuxlQW/tdygxSIec8osOObPbCyUlbVfYpIPS+j5NW+NBgKFUQq1ac4q7lUvWFZ2f0bYpAUo25QvaMtR7eqY180FO6lq5L X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e6a2d9aa-154a-408f-d068-08d5365e9f83 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(4608076)(2017052603199); SRVR:BY2PR0301MB2056; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2056; 3:IhXPhWx9Nj83mrZfQG/BXJIFRgY4biNG5xzH6ClCF4xJg60PkCNlK851ud4G6bytIldVp5T0PA+a5MOYSYpwY363SiBxy5jXcgX9tJMK+v+mLBUxzB26SO1sFkjTezmFGh1uOSN5jNxbFdOw55nST9hdYXiF2YjQY0wSFuMVOTjch6+K3q3BTEnB6v+GGRZsWF6r2ph1e78ZYhxdbPqfhdvnN7DuAlyyhU3ohIyqmXkTmBAVDnGI/c+j8DJ1BIMu8QN3O4+HvpXj2OW36yMGIy/PWP9BKS8j3OiDApkCGHEQoQzJ0yrm6jnCCuZ0nw12jxyKPEplqW0cj/Uv993pkw==; 25:1mUEhCBPxGS0H1rLdvDDVGsQ1NKDSfG/9KZRZsTUi7W+lCLSDWdBKpRx5hL5tsmXm1cFityfukrbx/EdQqrqh1tyYjmn1zYToHt7wclo4aPXxKr59mBcUeYoZlwj9xS946zatLpjJQB0OCjbnZBa9C5l+m/jkqVwvW0Sg87CdMkdfocyyvykJQ/yZOrofYuKbzv3WuQKuhZY7/EtCZEoAiE+1yA2xzKtoqOzSL6kauIGg8SI7a2KKY+6GIaXxIWD97K8ZhyCuXxWnJJSIY+upuEB9n8dEpYY1A2xCezxRu7vFlkwoMBze6hRqxfN5/Sh28Wqxe+0uO8koUkGentopRk/pLdnOZbc5uJFM4D4y9o= X-MS-TrafficTypeDiagnostic: BY2PR0301MB2056: X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2056; 31:o2bV/GZ94u+S30e8pO+OpZKiLSFP3MXRrkMBcSjMpEYwvpE4G83Ev4a6Jm3PNckyqG6zt8Mxr4MEdg2iHRXCRLXdMYF9aVolRdRT/SLlAiNNL7jRRCIXJ6+ZdVFPtohO4vq9NFHVNDo5RAO646Y18DjLOL/FZysBOTvw6JuXqCOVVH9dGApabSmHs8KqhoEDwdLHhfI37jWbkeMTprBo9H1eDiPlAGpigImCsJcPuSE=; 20:Tj32FaQbYg9UDgFeWRQgioW0On2lWYcIIEae3rdlgvhNRvZF1fMbZBFIpbJBfw03/EtFpyJYvyCOXvwvIP5NFzFejjw1pNQBFZBLqje2i8DYi665Zk5iSkRxSZ9f2iLjHZp4hwontnoivTysSs5EOTjPzqaIRm93FEVLIGAohC/Yoo/kGBtdg/v+tA/6YslpmAp/QbbqHjotBzFxyqZvDv/Xrl7BmZWuSCdhCuEh+Ko7byX/neB80Wm06g3iAwyFtpJwHgZEpUPy913/o4mBiGl6Hhkk9ccaqVAn1EbDn89Phn0v6dRjiaapfOACQCISnr1R97SkmjED6+h2KAAPRBkBd0AGZEcPQ6EI8b2UkjvEm5tVfanwKGt94WoNOnbXzIP1Cp7HkgFCm1jUvu9iibMIEUE/PIMpH4yKrEMBrFO2rCshaRuR1I/Y4h8poAMJ0yEb0sR0eWi3gyysqSBD5pG8ppKMqaOIMYlGsgzYdWRXLXSN7p6I5EcB9invEtLM X-Microsoft-Antispam-PRVS: <BY2PR0301MB20562EBF2BD5D62B6D8916978E3A0@BY2PR0301MB2056.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(232431446821674); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(2401047)(8121501046)(5005006)(10201501046)(3231022)(3002001)(93006095)(93004095)(6055026)(6041248)(20161123558100)(20161123562025)(20161123560025)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:BY2PR0301MB2056; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:BY2PR0301MB2056; X-Microsoft-Exchange-Diagnostics: 1; BY2PR0301MB2056; 4:d9Qh332IDF90NK5Fclg2zjHp2L1wZ//RZkQHH+WkYHlLAbLpPQVZc9z9xe7VfQ/IMSaamsos9RFakFbxSVNMwRoc/YxO1iAoA/sBa/ZJgyKTQTJ3XDVTqQoZs2QI5bLRJ/3XP59XdiFsLHgeHjbXZUdoczAzK/MsUSx2m3EKB52M+1I5y8OfWINGGRzO3teFuYt+Q7EtF8E7g4A1xIAqBkZPord92LEmXmFGbRYjIKiOyaTLtGcCJ4zx1ttFUWhUUg6OaaqPB9FNzJ7hTlFrPNq94p7/kKAdWV3z0m44Ie3eYbMTBYk6gSnlWOskWpNX X-Forefront-PRVS: 0505147DDB X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR0301MB2056; 23:tSDmXrrdwwNgltgvM8VJHbDzV4POyi86kxvr084?= =?us-ascii?Q?p+RJu7GAsYR5zpVe8tqI2+QfVlTQC50nlN+CjR7ZtE5XWLz4bC4GmiRM2xE+?= =?us-ascii?Q?ft05ghyrgQiRnELdTk4wpqrLEH1hX9qAc4Zex6AFSD/4YW25S+DXihDEqDnX?= =?us-ascii?Q?Fs9CP/4KW7xVZfnLmKRv+Rh12U9mn5+Q6l2HsQBjCHZCIas64++Ju8Th8C27?= =?us-ascii?Q?qfKvC1KG1OCKFmFRNnwq+4fOpPQGhE88gpTpyWbmvlVO5asYG09gb5CTc88+?= =?us-ascii?Q?q1AxXdlb3irCxzuVwM3LYxAynXtVJnrbY4Rwld7dchtt/7hpFhamQLPIj7Mf?= =?us-ascii?Q?3r9XzAqFcKe2JUW03gJv2Q+PLZTFPavBCWRjwoRhIl5d/bTeOKz+QknFIBvJ?= =?us-ascii?Q?tQCasHBAWwA+XmkihTs2kpld9j41eTWYlXpUmO57sWDo5JKRjjOVaUyKTL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dwqhu7SZxyYAJD6kRfZConPTJ3Ezid3pExhwm0rV3JFzGdX6WfXtPRcdtY=; 5:gvG2623niEDZtSSnGmK7QbCbo5ZiEizuc5oKEK1t3oYDdDFI4CcSY/trR62lmUOXBYIiwy4U44grgoowgvCoAdczzXX55xnR1mzxmYzp0rAyWDmay7NjXz1IZwQRP/b0+v0ObPvP0LGOcuQZ4jBm+mg4ysaBBPKp7aBZMTXiVfo=; 24:lyWLMxxQxYTVjr6tLJwcab2k07pLU9oMFHx8cutHwSeiOCqA9hzRaEFKjvYho+xue1iV0tWdDNzS9lNwjgXDcaNrgr/4kw5kL2YFsLWusAE=; 7:6PriYyH7WxqQ8EmmisiwazSHaZyMKSsNHyF3UqRPKsVS+mkBu3nemPwb1UxZUfSyJoN2HTNvSZS/tPSx1wHolPU0H2swvg947dekB1l0GiPzMNktl0zo4V4k1y92EUlEkW2myoxAVaGU7KM7Je8aAQMA7vBZJo1vARyjPrXiM0Cu0CUf/stD4WQ5sdhrzx3uXNlpLwDzsleXNm2uf5BxcInEHgGkyK3c6Np9ghQhf4lJNUvCGeEC6IXNqLi9V0w3 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Nov 2017 12:50:37.0870 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e6a2d9aa-154a-408f-d068-08d5365e9f83 X-MS-Exchange-CrossTenant-Id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=eaa689b4-8f87-40e0-9c6f-7228de4d754a; Ip=[137.71.25.55]; Helo=[nwd2mta1.analog.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR0301MB2056 Sender: linux-wpan-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wpan.vger.kernel.org> X-Mailing-List: linux-wpan@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c index 56f4ca8..a11948a 100644 --- a/drivers/net/ieee802154/adf7242.c +++ b/drivers/net/ieee802154/adf7242.c @@ -888,7 +888,7 @@ static const struct ieee802154_ops adf7242_ops = { .set_cca_ed_level = adf7242_set_cca_ed_level, }; -static void adf7242_debug(u8 irq1) +static void adf7242_debug(struct adf7242_local *lp, u8 irq1) { #ifdef DEBUG u8 stat; @@ -932,7 +932,7 @@ static irqreturn_t adf7242_isr(int irq, void *data) dev_err(&lp->spi->dev, "%s :ERROR IRQ1 = 0x%X\n", __func__, irq1); - adf7242_debug(irq1); + adf7242_debug(lp, irq1); xmit = test_bit(FLAG_XMIT, &lp->flags);