Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752117AbcLDBe2 (ORCPT ); Sat, 3 Dec 2016 20:34:28 -0500 Received: from mail-bl2nam02on0054.outbound.protection.outlook.com ([104.47.38.54]:6688 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751098AbcLDBeZ (ORCPT ); Sat, 3 Dec 2016 20:34:25 -0500 Authentication-Results: spf=fail (sender IP is 66.35.236.227) smtp.mailfrom=opensource.altera.com; vger.kernel.org; dkim=fail (signature did not verify) header.d=altera.onmicrosoft.com;vger.kernel.org; dmarc=none action=none header.from=opensource.altera.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:9280;Count:39 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=atull@opensource.altera.com; Date: Sat, 3 Dec 2016 19:34:09 -0600 From: atull X-X-Sender: atull@atull-730U3E-740U3E To: Moritz Fischer CC: Dinh Nguyen , "dinguyen@opensource.altera.com" , , "Linux Kernel Mailing List" Subject: Re: [PATCH] fpga: fix sparse warnings in fpga-mgr and fpga-bridge In-Reply-To: Message-ID: References: <20161202212305.19475-1-dinguyen@kernel.org> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [24.206.110.125] X-ClientProxiedBy: DM2PR07CA0040.namprd07.prod.outlook.com (10.141.52.168) To BN3PR03MB1512.namprd03.prod.outlook.com (10.163.35.150) X-MS-Office365-Filtering-Correlation-Id: 28f47abc-2671-4b3a-afe9-08d41be5abd3 X-Microsoft-Antispam-Untrusted: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:BN3PR03MB1512; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1512;3:mjM3dDrZjY657lTxKmQW3Q6nm0HHkozIzN3+dF3tRWoHJOIKSd1VBO5n4yhWh7Thx5CVC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ft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1512;31:pzg0HZv1oGzryDdZL8WXRaHkGT5wKqCvjpnoSQI3vF/OJxArLd8N5hcbp6W2gzPfIgNd8F3RVwR8gPjrVPtTxDJHCplJUPtDYZ+xhSaFSxnWkHCbQ08riPHwdM/Wx/r62mX+jyiaHBh0+MrajBW6lebC5VK9nSSAAcg1sup7WLRNteAMuV7aEXKk+ZueEHPzbhFjE6hCcQhWHLAwLgctBzMGrJqeq1HzJbzpdYK0K0g5oLJJKOV8/46sa+awSoqC;20:IJGNHhVkniSOQ7M6dpKP735sbrIvxZG9F1SEWkU6aICngQq2cayHHB5RCrP1YRiOYpfNaw/jfZ6x+Y9McvslpqDlU3tr0j8w7yLDUknuHwIgXTIUpXrgkwYn1GcJxB5VAomMZf/w3wyDNEyn9ymW8Ca5oUPb8r107gQAllhGPHw= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(80048183373757);UriScan:(80048183373757); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(20161123558021)(6072148)(6047074);SRVR:BN3PR03MB1512;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB1512;BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(13017025)(13023025)(13015025)(13018025)(5005006)(13024025)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123560025)(6047074)(6072148);SRVR:BN6PR03MB2580;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2580; X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1512;4:a5qyXVefxv74QSqBkth2E+/eAqSkLghVEiVcnRbFp3Dvst6ItjNdpOVUUBb65sjO5qGqhB1CnzMJOn+BHZ45aOIhY6g+7VtUtU+kl81OE9FuqnqNvLxp0cmv1B2C6QSTHCksu2Btr2hMmFkoRqIxHa40/MOIM2Grg1y7WqnyuCiMn3ZwREo34Crnh4gKGJPMHL9/wEONQpks/nUTUknboivPPEijVgNsdvfp7CH4WrPQW0na7aaMiD6iOEO6ZWLfJmbzWLlNqNRdcVncfu7llpqjkAaZnZcgDggd1D60h2QhaqFQn6UYKqZhvezlF4Jy+B8kL1pW9JE+TZIS9TGzKgZQ7CQ6d3wmXHCLBiYRqWC3lDfkQB5MpRGRd9wpCiLgYP1s+lNsLt8+EJayMriPjmMnOkDicXD/7GHIrYz+428vl7chRbEDUNLRyIrsPOnfk3E9t5ZGKuB64nDPUPpanu+bGYcTPpJmYpgQ06jQcy28/adK7pbpHKI2yBwRww7gdn1PolM5no0T+VGHEj68RECVPeTPPVmwm2TElFvgIL4B0T7zGmf741ZhdEFXpCH9Ih/VlmHqFhO8W+P2y9qGytwJ8jTy4ixGRtLnEvf/lwjxSFzsdZm3vOMVyl++Ap14M9B2uooPInCvqvMmdHbnzJtC3VvYfm8j+ZKd01tHnUXrgifhcu2zeqzOfxWidJmt X-Forefront-PRVS: 014617085B X-Forefront-Antispam-Report-Untrusted: SFV:NSPM;SFS:(10009020)(4630300001)(6049001)(6009001)(7916002)(24454002)(199003)(377454003)(189002)(305945005)(7736002)(2950100002)(42186005)(86152002)(23726003)(97736004)(7846002)(54356999)(76176999)(2906002)(4001350100001)(4326007)(6916009)(106356001)(117156001)(42882006)(86362001)(575784001)(6666003)(8676002)(81166006)(81156014)(83506001)(5660300001)(110136003)(77096006)(733004)(47776003)(3846002)(6116002)(9686002)(105586002)(39410400001)(38730400001)(39450400002)(229853002)(6486002)(66066001)(33716001)(90366009)(50986999)(68736007)(189998001)(101416001)(92566002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN3PR03MB1512;H:[192.168.1.6];FPR:;SPF:None;PTR:InfoNoRecords;A:0;MX:1;LANG:en; X-Microsoft-Exchange-Diagnostics-untrusted: =?us-ascii?Q?1;BN3PR03MB1512;23:O09B9X0HA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K0FNzIzD9n2fd8x/or028A/UsaukEJcyvjUK2istoT741VZerUnBcWS+tBWtRR9QX4GVexOOWVlQawDkk+vMJO4SZkY8aZpAh+39DA==;24:BtXkQW6f9x78F5ZjolXr1XqEpuXFVYXf5lRYZ46c77Mq9UBJbsPkC24ciqq9Y4rxP+dq9x0hMaRXiSJmJOXohA6xiRSKT9QsTD4/40wpiPw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics-untrusted: 1;BN3PR03MB1512;7:/WF/leHNZaRJWiOyAAXRjtspYTaAAaR2qBTirFywbVuaW7UKUYYFdoZvK4g+mGyR7bvQAGzU5K6V6/a3i80XP86+n7J2oKb3sE7hHh4jEDNWFnmFHr5kgLSXx9iG9WKlunaa57DVq1o6mH5eQ2mkUEl5VFQtHQR94iwtJNnz0smDho7lU3jslcfY9hiBciYkR6/kX/EfwNdgf7cLTMXxzWwAYNc/0eWgVHaOyrWVACZcNXHuhozWZVGQ8WAYkcaqawQnjeZCiL6LB/ASqdxmGKfn2RtDMFI7iRt7Wk4Ht6objArQJPD83O0r+uH49Kx/RzJJvalsZTW3vfosF2LCUuI9qKMd52Tr4njzCRYI50qmju7HnPIpNSPNGzSGB0azrAu4Gb9q7L9X0vEOS2XoZUHZ0t80I9TgT1f/xY96dOjvEJChHvhdk56d4dBFg0AImDXOuygijlR/sk3e3FaR/Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB1512 X-IncomingHeaderCount: 39 X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: BY2FFO11FD018.protection.gbl X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:66.35.236.227;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(189002)(24454002)(199003)(377454003)(626004)(46406003)(305945005)(8676002)(90366009)(50466002)(110136003)(956001)(83506001)(117156001)(356003)(81156014)(7846002)(8936002)(81166006)(6916009)(85426001)(2950100002)(42882006)(7736002)(6666003)(92566002)(5660300001)(9686002)(33716001)(77096006)(92616002)(4326007)(54356999)(229853002)(2906002)(4001350100001)(47776003)(86152002)(38730400001)(6486002)(39450400002)(6116002)(3720700001)(6070500001)(86362001)(50986999)(3846002)(66066001)(39410400001)(23726003)(106466001)(189998001)(68736007)(575784001)(105606002)(76176999)(97736004)(7099028);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR03MB2580;H:sj-itexedge03.altera.priv.altera.com;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:0;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BY2FFO11FD018;1:PIvpOadVfAIQ96uGCxFiMS87oqWQP74uIg/48d0vsEZDLVTKtrhrnoTLId37jfMdu/ODhi5+ggY0ZIsEwNCivVYjxjwj4/mG1DX3rLxeDkYX76Is9mRjKI7KJUmdsSjqA6Yw163/OGgxBH2JAD74vN0ce8KUGut4xgfDeafioSWd8emE3vvmtYXaqgJObQ4eOYfNVgqNxEg21PAOmiYEps3hqQZJqbXNJ8H1fobxol1jp4mRdhvPUaJmkOFFmp9xGkfrg+3XG1UtNE+pUTpPiKoz83n2zrgvSrrNYtKWG8ea5Gn6RjHFURbWM3e/UYcJoeWjlyyII3yzaM1iGYrAOdsO52YbWiM5hvH89yszEHG7FmYXTi9pz+qtRmF0iniigitHTBESwJM5rVCuCQLbaADyEeIDwrkfg2AmIsAm45jRg7oYeqTVWfD5Ud9rp4egKyLF82JQvrxO9KCP6eo0gblIc7qoXbXD6m8xFU4L0TYWAajwl+ZbKjjrH2QgLaSn4WFAl55g5eKKYcMjetJioKOJKuLCRJovhg/FRjpTy2GW9h8CEIOdxIFVFm+2Zo1aiuWAFJBa9LFUHUk0oFBDzg== X-DkimResult-Test: Failed X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(3002016);SRVR:BN6PR03MB2580; X-Microsoft-Exchange-Diag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94vZLCjgHKcz48jwJw1xa0VN3BIgi3nr8L1e X-Forefront-PRVS: 014617085B X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN6PR03MB2580;23:PunyQk6ACYtT+YElq1KEo2v7o4hGdK2epGRIQm64d?= =?us-ascii?Q?mc1MgsvmxgJZ7K6sinqTLIrGAoWbUKP9fBnSlEa3mr17oB/quHAJBmupT+AH?= =?us-ascii?Q?dRugnvZDJSn9BUXoiuZ3c0FjvFEaEsQEOa4s6AHQdgdxJKy1ECUXWt2yNx1N?= =?us-ascii?Q?GEsK3Xryg+umJ2jYAthlK0/a+cFW9xz8G91gKA4yzVT6Al8QT9xGqNnUAbf8?= =?us-ascii?Q?q5gtG+DRzU+DtCsCgHvvaTb/6EAAU7eO8+J3UD34vnLc1A6wSz4xNhOOlmmu?= =?us-ascii?Q?7wvhrNEVr1P1O8ElrHoMnYRBhcP0SNuC15RYAFm7fx23GqpBuA7FKIIYimXB?= =?us-ascii?Q?gynmAx7wjN665jeBtUz60XvNDTRREdmD75prjNjQK67ky9TOwo/5MhRYaySc?= =?us-ascii?Q?vFxdro2LQDGSFgbdCUaxd3U3GAIuUlTGR1fBUBpd4oVCNdspmQ4UgixU1e7u?= =?us-ascii?Q?ZEqDCWWFMzhozqrka7K+x5rU8m4oTXxqk+K1luFXl3vX+yM0b2FSw7Bl54Fp?= =?us-ascii?Q?TvGLUNpcMxYAChTvrYs9qjLF+GnOM0xxKvHVnV4icXTXyktfhxqxMenyLf/l?= =?us-ascii?Q?UVKeyNRh5/1FKAyiALQsuNkrJpZt2vH2feZq8zdDGS/+Y+9Gk1g1oJrBQ8hy?= =?us-ascii?Q?mkWTSK/I6LYBwp6E7IbQcYaEfMIigNNMsKRc20Ga50G9eU40ap65G/OHCDIB?= =?us-ascii?Q?TmBUHoYKNG3DWqK0qMgJ0B+bCw/KUBckFx2+u8gJMryzettvSqqR/4ebJ3Ye?= =?us-ascii?Q?5H+jXmb/WPum9jrWm5vVIDI5sinCf4o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K/v0wwWUVCcWQRaE6kG2cgBgVmGwc9Iu0+OcK+RVWEnwRzxiRN+zOu4ukedK5/ X-OriginatorOrg: opensource.altera.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Dec 2016 01:34:20.8136 (UTC) X-MS-Exchange-CrossTenant-Id: fbd72e03-d4a5-4110-adce-614d51f2077a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fbd72e03-d4a5-4110-adce-614d51f2077a;Ip=[66.35.236.227];Helo=[sj-itexedge03.altera.priv.altera.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2580 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1732 Lines: 54 On Sat, 3 Dec 2016, Moritz Fischer wrote: > On Fri, Dec 2, 2016 at 1:23 PM, Dinh Nguyen wrote: > > Fix up these sparse warnings: > > > > drivers/fpga/fpga-mgr.c:189:21: warning: symbol '__fpga_mgr_get' was not > > declared. Should it be static? > > drivers/fpga/fpga-bridge.c:30:12: warning: symbol 'bridge_list_lock' was > > not declared. Should it be static? > > > > Signed-off-by: Dinh Nguyen > Acked-by: Moritz Fischer Acked-by: Alan Tull > > > --- > > drivers/fpga/fpga-bridge.c | 2 +- > > drivers/fpga/fpga-mgr.c | 2 +- > > 2 files changed, 2 insertions(+), 2 deletions(-) > > > > diff --git a/drivers/fpga/fpga-bridge.c b/drivers/fpga/fpga-bridge.c > > index 33ee83e..e04a899 100644 > > --- a/drivers/fpga/fpga-bridge.c > > +++ b/drivers/fpga/fpga-bridge.c > > @@ -27,7 +27,7 @@ static DEFINE_IDA(fpga_bridge_ida); > > static struct class *fpga_bridge_class; > > > > /* Lock for adding/removing bridges to linked lists*/ > > -spinlock_t bridge_list_lock; > > +static spinlock_t bridge_list_lock; > > > > static int fpga_bridge_of_node_match(struct device *dev, const void *data) > > { > > diff --git a/drivers/fpga/fpga-mgr.c b/drivers/fpga/fpga-mgr.c > > index f0a69d3..32860dd 100644 > > --- a/drivers/fpga/fpga-mgr.c > > +++ b/drivers/fpga/fpga-mgr.c > > @@ -186,7 +186,7 @@ static struct attribute *fpga_mgr_attrs[] = { > > }; > > ATTRIBUTE_GROUPS(fpga_mgr); > > > > -struct fpga_manager *__fpga_mgr_get(struct device *dev) > > +static struct fpga_manager *__fpga_mgr_get(struct device *dev) > > { > > struct fpga_manager *mgr; > > int ret = -ENODEV; > > -- > > 2.8.3 > > > > Thanks, > Moritz >