Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1732698ybg; Sat, 19 Oct 2019 01:18:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqyNsN0V+5FHk6UGEXO/dwDB76O0FQ9FLMpzz97vTQZRihLhv2l0CGFaDQiFNiPxObizYUpm X-Received: by 2002:a05:6402:12d4:: with SMTP id k20mr14143628edx.241.1571473119342; Sat, 19 Oct 2019 01:18:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571473119; cv=none; d=google.com; s=arc-20160816; b=EhatJ7uw5T2dFFMniygHHkfn8biuPJClI2Sa80DKqf44jmmmsI7xdWpqo0N4hyuzXP ibKCtC15r9dbfT0Q9Xe4fEdZWKEUtSpSQpA8zyxSw8PDJmtD+2Ik3XayfacjOeqCgvnd w1aF6u6v+TK6mOvdvdvhkUEHs65NsQCpjQxii4V1+is0UFfjA0hm6HD0n0Wo8TfxNGg+ Pr98sk7FAPgxTDzndq8/5cfdeSpTNMCuRRIJndZmY3wrt3PGrlgRZV9MSMUgmsj6dv6z GuoEgwmnvXqvXILW+YKKbh0wW2X6kWD6mM/P4ee+YME1s62M5tYMLem5lYk7MUJ1z2YS VNPQ== 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:mime-version:user-agent:date:message-id :organization:subject:from:to; bh=jzhhqsZpxNXeTNG9PWdTg8qgbVj/V81JBD9MPJUyWuo=; b=VivPCGsjYhI3pOm5ILQ1MlGjTYIBiOI0MTr+cWVXtL1EARQSl1rb20Go46MyGxG2+2 4ikRgPMevGahaVvfK2+ZbQKFj5A0poh6vkuIONgZavg/rdxopyQHfVNDyUdj9+sZXVOT /3nousWNECF4Y6dVEvmKnL8YYaA3n2U3/Q1VbNY1rTZBQI8EQSSiwmDnzBH+PvyULy/l 8keUvDthezM8pvGYtlk6yx4zeHFXLzyz+MUNvP/dwBlsmSXNJrYrzOpk8avU8AnI3PWT TOktBRnMLcpUgMRFT9kAxs999L1QxAUNW9TbC0aQE+y9etm5SMc4d/ZPBGqg0u7skHej n6Tg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w1si5331671eda.214.2019.10.19.01.18.16; Sat, 19 Oct 2019 01:18:39 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2442477AbfJRLPZ (ORCPT + 99 others); Fri, 18 Oct 2019 07:15:25 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:55795 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725930AbfJRLPZ (ORCPT ); Fri, 18 Oct 2019 07:15:25 -0400 Received: from [167.98.27.226] (helo=[10.35.5.173]) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1iLQE7-0000Ib-CQ; Fri, 18 Oct 2019 12:15:23 +0100 To: linux-sparse@vger.kernel.org, "linux-kernel@vger.kernel.org" From: Ben Dooks Subject: sparse: __pure declaration only Organization: Codethink Limited. Message-ID: <09d824ac-5371-830e-466d-7f78ccdae065@codethink.co.uk> Date: Fri, 18 Oct 2019 12:15:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-GB Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm seeing the following sparse warnings where the declaration has __pure but the implementation does not. > lib/bitmap.c:62:6: error: symbol '__bitmap_or_equal' redeclared with different type (originally declared at ./include/linux/bitmap.h:123) - different modifiers is this a valid warning? if not, should sparse be ignoring these. Note: > include/linux/bitmap.h:extern bool __pure __bitmap_or_equal(const unsigned long *src1, > lib/bitmap.c:bool __bitmap_or_equal(const unsigned long *bitmap1, -- Ben Dooks http://www.codethink.co.uk/ Senior Engineer Codethink - Providing Genius https://www.codethink.co.uk/privacy.html