Received: by 10.223.164.202 with SMTP id h10csp313598wrb; Tue, 14 Nov 2017 01:49:31 -0800 (PST) X-Google-Smtp-Source: AGs4zMYNxcAbVDzO+32vRC87vfqucDT8TupAtV/8Ypg/aD8HhoMlQxnvVGxF4z++5nx2Eib+OyGH X-Received: by 10.98.249.5 with SMTP id o5mr13183190pfh.54.1510652970932; Tue, 14 Nov 2017 01:49:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510652970; cv=none; d=google.com; s=arc-20160816; b=kUqKgrfETMiYzhZBeWXKKmbMlJFAnY7kUQsNOs9FzT7gWXgNgmKK611RqWCmXfF0TJ FDacLkgo7okQlXnpboWm3v3lL/ETFUeRJVmgWvlh+tyN5Pj61AE9n3zNt/UZ7c1yf07L dm6QVCgffFlEM6QngGGQKJc90SakpO2EooY+CcIHZ0RvxEVe8mdXTsNp0sIG89Hth1P5 pXLUa/WKsY55F1HAconChBMxhmA/ewENJsAUcvaF5qedb1jskJZ+ijuXh7rRbT5oilp8 EsxUaCQoM41WO50nHnMwGnwpdH5cPDlYbb+3TzhW8OsKJ9qNPl4LnXxgSuMcZFeoaPCw P8xw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature:arc-authentication-results; bh=8AxykJdD4DfE8/yCOV2FF2bngXvwszhhm7qMBWiEJTg=; b=mxUHrM4pmBLAGtr+rYDV0r8u2DBC9YTDF/dwY9UJcNAENLuXjU1MMUGmHpFQ3SVDa2 bqBBlGCSw/XbDQx6232VRFxzoRXl635BFBioqjyJL4HQAigAIisF8kS2STWbBGMwLsqj SOsS+GzX1y2nZAayqtJvy4BOwPNmJmsKdvrOwhXBroeBHFD32T+oVVTkYEY4MS5xr5Is 8MeGYAenm9cCTn/XVNS2qCm0CGk3LXQl97VSUPZ3pO1ddVpcv83R7mdbFM0qNLp6U8bH y+DTCr6r8jeICN841cZ4tuQ7Cr76W8ND2C0PKrQ7E/lFWezT4+98mZCSZuza/pKGvNpz unmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=RzIyOUkR; 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 p3si3397344pgs.84.2017.11.14.01.49.17; Tue, 14 Nov 2017 01:49:30 -0800 (PST) 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; dkim=pass header.i=@CAVIUMNETWORKS.onmicrosoft.com header.s=selector1-cavium-com header.b=RzIyOUkR; 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 S1754517AbdKNJqV (ORCPT + 87 others); Tue, 14 Nov 2017 04:46:21 -0500 Received: from mail-co1nam03on0071.outbound.protection.outlook.com ([104.47.40.71]:48288 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754051AbdKNJqQ (ORCPT ); Tue, 14 Nov 2017 04:46:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=8AxykJdD4DfE8/yCOV2FF2bngXvwszhhm7qMBWiEJTg=; b=RzIyOUkRn+fYu1ECnyL3Og4BS4l3i4uiGMwFkveqky+P7d8eVLpr3CoSs3TDxxnEEA7hlCGqEaUXiBA4EsijF4iePQFqe/aZaHmPipquNXT7qYHoToHTIzX3qXKQZxILM+9ippNMPh/uxJsZHpRqLRP1eC4iLtQhKznnFwlDvv8= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Yuri.Norov@cavium.com; Received: from localhost (50.233.148.156) by MWHPR0701MB3833.namprd07.prod.outlook.com (2603:10b6:301:7f::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.12; Tue, 14 Nov 2017 09:46:12 +0000 Date: Tue, 14 Nov 2017 12:45:58 +0300 From: Yury Norov To: Arnd Bergmann Cc: Stephen Rothwell , Andrew Morton , Clement Courbet , linux-kernel@vger.kernel.org Subject: Re: [PATCH] lib: use correct format string for find-bit tests Message-ID: <20171114094558.xqygya73bb4d42ct@yury-thinkpad> References: <20171113135605.3166307-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171113135605.3166307-1-arnd@arndb.de> User-Agent: NeoMutt/20170113 (1.7.2) X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: AM5PR0102CA0014.eurprd01.prod.exchangelabs.com (2603:10a6:206::27) To MWHPR0701MB3833.namprd07.prod.outlook.com (2603:10b6:301:7f::26) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 062ce142-6d4a-4e3c-18a6-08d52b448ba6 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603199);SRVR:MWHPR0701MB3833; X-Microsoft-Exchange-Diagnostics: 1;MWHPR0701MB3833;3:Cngp98+7aDgi0gIdYW2I4KjVp4bh8jaV/0av/hvGZOw0VCh9XbPE3e4VxRIS4O7ZJn1yyHWGcQLQEWHc0fiG8rY31FyxNa+bwwejSgv3RvHuNG5Pzgo3IHo20tfTL02gPSVSCjYum0kCHmvB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bKccFpj9wqkISfSdwCwAyd8A1icba4kYdfeCCFEGrObnee3TmJBVaA5TLgSDowDVjGFKY08m9/SPnKyimZJjR75t3kmUnmsz3BjHtn3qyeqjUP8DzlPvAKlbJkEA1+NYjZRF/m5fuV9d3+iA8/EbHXa7s5cYTseu/O2QB4vAKkpZvWj4BFnhu8YKAjmn6IVzBVrCaTbhyoibF2NVBlVQjhrKppsVF/lge/gADZGX5YvvacrzZyXOUGLGtflqhZdBwJYmcj06qo2y5U9uH7f7yGzKRfw9Y7Iol9rFU4UcAbmYLAQTwZ6RukQUk=;4:Ccr3aENBvAzMi2aAJ+Jzk5+24hRM7NzPdk1+83m+FDfKfb4yaTsksTQ8atTSSYtUW4v0JvODKnvPz0WMVYJFDakOR4SERwLq/A95c6iUNQSq6UhoIWORS4UNdgPZRBrV+/WJWjZygs/GGt73/f5ut92uVKfMRMZ9v4v2qnTq16IBZ4/sSq8pL4vF1zega8WvN9J3qUaQcpYX69qHa35Z5pYZQ5xVGAy81la2SnFyMwvbtmoPCVi9IodKoagfnAjnRuEaiohfGN4ZSgzZTUAqww== 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)(2401047)(5005006)(8121501046)(93006095)(3231022)(3002001)(10201501046)(100000703101)(100105400095)(6041248)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:MWHPR0701MB3833;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:MWHPR0701MB3833; X-Forefront-PRVS: 04916EA04C X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6069001)(6009001)(7916004)(376002)(346002)(189002)(24454002)(199003)(6486002)(50986999)(101416001)(68736007)(72206003)(478600001)(33646002)(106356001)(54356999)(76176999)(105586002)(16586007)(33716001)(54906003)(316002)(58126008)(3846002)(6666003)(83506002)(1076002)(66066001)(25786009)(97736004)(9686003)(189998001)(81166006)(305945005)(229853002)(5660300001)(23726003)(6116002)(76506005)(6246003)(81156014)(6496005)(50466002)(16526018)(8676002)(2906002)(6916009)(2950100002)(4326008)(7736002)(53936002)(42882006)(8936002)(47776003);DIR:OUT;SFP:1101;SCL:1;SRVR:MWHPR0701MB3833;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;MWHPR0701MB3833;23:A1/asyonSbsasCKUKNbQbuhpH0OninlCdqGH4Nz?= =?us-ascii?Q?O8+rTHgs0kQN9Im6Iz+xaCyF3UdVidTuFormAZIzpvqnN4R+Hue9rPlPvqqr?= =?us-ascii?Q?cixuUKOtkcrG3qRrrMfA/VQbKG9fj0ZbLWuMFHRkhAza3RfTRBB7u+VPEt0W?= =?us-ascii?Q?PuChQKRTX6OyHa6+xTVYWdpsgOiJnkd9OE1F19hmiyf8lgnqgMzR/V8wmukq?= =?us-ascii?Q?XfcbzxetY06MqVO96X0OH1RdfXnFEhgOZVaTnN5BAenauWfeJNTPqLVPrFGo?= =?us-ascii?Q?XdjRfvsb2WBRBkB5ymrDovOQfiUFgjxlySvST6WBlt0fME9VjySPTmtPKCCv?= =?us-ascii?Q?H1XdTW6y0lhbvMQRoVz2wTRyTfPq4TiW4NsWEcvyjxV75vItGzxcX+AsH84v?= =?us-ascii?Q?c/vfx6utssM9SCfSOfZIyrcYBYLCd/h0Tj/AsKhV4M0uR8n6cvV9Iyb10mYo?= =?us-ascii?Q?Hrm/os2W0slNMS9T3rKjlLxHc7PNU2AEjNBawWLmKiNNfplipoUHk/5zWtsT?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dwrJYLGu8YUeH46/N2+CaEx2fSEe6JnENOztXJ1vY/X3b8a2atoebMMDIeujyT/Cqp0S5PkHQQ3ouPmYt31MCPjTiWb3l4zNwlOQ7rx73qAHyvxGU4qCKVaNft4tBxY8TwZreKA9zh7qeaPHc1a/SFlOMoJg/vmxkv857dHyNqvm8b92HB0lOQe3H9w85LHTGEv2ex7GKKN90OoJ+aYPMmu5soSK0nK+JQKrOU7Y6h4RK/Ou1SXoKkALgdE=;5:swqM4PTgloNriVHuvIerBeFtW+dt8NKozDYw1WmJCZz/uS55KaGYIp2SVwQa7TpbbU7j3nIG29H8Rs+Ya3IU5MWx/+no1FcgvYw+LHF5PJptnRQMLoUAnxIT6qC8VVwIJulC9nRp7wTPGqijq2pYYkQHoSmgvXFih9CZfF1tU+c=;24:ru87u8BM0MJ9QafnzDmV2jIJjdfFxp4a9akLzakuJPkcP+mAcMzJgTuZZ29FBOqxsFWhDrusrwGkQK14Rll3YZFv3X6ea2jgKQhppev6m+A=;7:oMCPMrnUzyAD55IiAOP5cIP/vmr+D1SMN9pld7XGiSy5ua4iNOkYPYP8Fl98/j6o0zTgqhSWsZ2eABNLQ2yRS/SOOaM7BTHX7FVJKW12Q7viY7TddpLsmsBsK/r+GBtrHAb5LEeO8M4zBqmbmJzFltI/3uaVclnJf7YaD/OP8/2n+kzlBBgV4Au19oTGlAGlA4hTSiCJdkea9vAAZTJwuhyy5+dSMbaATAkDa0xOiahCQRtRHfjBImUXu/ImPUXH SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2017 09:46:12.9419 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 062ce142-6d4a-4e3c-18a6-08d52b448ba6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR0701MB3833 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 13, 2017 at 02:55:45PM +0100, Arnd Bergmann wrote: > The cycles_t definition is architecture specific, which causes > a link error on all architectures that use a 'long long' or 'int' > type for it: > > lib/test_find_bit.c: In function 'test_find_last_bit': > include/linux/kern_levels.h:5:18: error: format '%ld' expects argument of type 'long int', but argument 2 has type 'cycles_t {aka long long unsigned int}' [-Werror=format=] > > This adds an explicit cast to 'u64' for it, which lets us use > '%llu' everywhere. > > Fixes: 09588b1f1d58 ("lib: test module for find_*_bit() functions") > Signed-off-by: Arnd Bergmann Hi Arnd, patch looks OK. Thank you. Acked-by: Yury Norov From 1583959532832146602@xxx Mon Nov 13 13:58:44 +0000 2017 X-GM-THRID: 1583959532832146602 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread