Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp724396pxb; Mon, 8 Nov 2021 22:13:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2fKlJEYUPrJBwXoaTAxgn/7cv4I1PtCb9htG3Qhg4ZZTfpswwcuvLgd6+YbPoa8wJldn+ X-Received: by 2002:a17:907:3f24:: with SMTP id hq36mr6538997ejc.390.1636438381493; Mon, 08 Nov 2021 22:13:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636438381; cv=none; d=google.com; s=arc-20160816; b=k+q707p4W70YkXGynxz+PzoYRpD61N8fZdUz3jFPjtF0vwkkWggjM0FuSCNMcj1yJx ZbQrdmXcoNzdKkGBfGJb8Mgvl4w4YihnYEmG8XFQf+Qq85kLQ150iGswBVTFVyGaVGL9 CdLfgPDstyN8DY5JyIc+yuCvgZd6POaS+uoZ8uYdYFkk1C2udBypkYWmojO+rRZTfGBT TsF2w/Odo4ikZHvMxN9Nbj3EhmFgXLlKE/1qI4kqtACt2359oi4Tqj1Ul+zjAf74r81q j/FBylGJwPu0NShv1INBsLZ6fZCn7mEeaOktouyvUuZh9MwO9n8mEHldMNGNFas1ktty P9DQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=4c9jRVTiEOAT2G+TczrZz0JB2x25zxtUp6Iq9kweQdk=; b=ycwYeInSiK7TssyBwbQooM/ZK6H4CU/vauz12VYZnWaeCuWn5c28i/NvAHgVZS5B2j NVNIT6QuO6sxKUYuf8C1Dlk2oWJOrRIt8WwVOXDHM79/3YOBTw3B2paDuuCdz3EgXPv9 SQpZaGWAlYbRCGUHNCBj2xE0RaNgGQ0xiKxqNrILx91CaFVvgBAyPi4lhD6QDCXrmXNb tp/2DVQg/Lf8NVk0t/BcRnAH/esC6MGYO3BABYdooodcTpns/hk5pK3UPrXr7KRV48Qx gnjpz/aK0/xGCYoZppKOmLhE8B0bBA7GoRZSuAL298T5/jsUa0PqxeH2pTQYO+WDvpXb n0MQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z16si30365406edi.206.2021.11.08.22.12.35; Mon, 08 Nov 2021 22:13:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240940AbhKHXdN (ORCPT + 99 others); Mon, 8 Nov 2021 18:33:13 -0500 Received: from mail-ed1-f49.google.com ([209.85.208.49]:43536 "EHLO mail-ed1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240747AbhKHXdJ (ORCPT ); Mon, 8 Nov 2021 18:33:09 -0500 Received: by mail-ed1-f49.google.com with SMTP id w1so69562396edd.10; Mon, 08 Nov 2021 15:30:23 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=4c9jRVTiEOAT2G+TczrZz0JB2x25zxtUp6Iq9kweQdk=; b=XmnaINPhvFwQe0hdIzoMH5JuVuPLEN3oN1qoAPQcfUzRnBMWr6wMiFVaSBr/BC2ovE lgfnTR+RyXnfaivM1ppGPHTujCsU4TAWifwRQMj8r+gNNQj4sPOIdtq8eS6TSGl32ZLc MG4Tguo5Kf1eRojD55/5mUwe1kDVFdgjynJSadhrBvNCSJs7xJOr0b10s2w18DdKISiU OvHPtxY6+jCrDnXQJ6ord0pRRtggTC/NUHQxR1wGjbLu52XP6+QV1m21sthdAJXTG1y5 Z2zA2MW0F2BXMDB+ndXstJetld8YBVqvMo3FFMSQcS/ghesysvckOh7NeatW6EvQJKLE rDlw== X-Gm-Message-State: AOAM533GKlr15oWE4+GXWVZZWOuivv06vHB89MrxptRiPNWNHDPKgkYI ADsmm2lGbKUA2x2XMJE+7v8= X-Received: by 2002:a17:906:12d0:: with SMTP id l16mr3561291ejb.415.1636414223297; Mon, 08 Nov 2021 15:30:23 -0800 (PST) Received: from rocinante ([95.155.85.46]) by smtp.gmail.com with ESMTPSA id hq37sm9073999ejc.116.2021.11.08.15.30.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Nov 2021 15:30:22 -0800 (PST) Date: Tue, 9 Nov 2021 00:30:21 +0100 From: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= To: Christophe JAILLET Cc: Florian Fainelli , nsaenz@kernel.org, jim2101024@gmail.com, bcm-kernel-feedback-list@broadcom.com, lorenzo.pieralisi@arm.com, robh@kernel.org, bhelgaas@google.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org Subject: Re: [PATCH] PCI: brcmstb: Declare a bitmap as a bitmap, not as a plain 'unsigned long' Message-ID: References: <4d556ac3-b936-b99c-5a50-9add8607047d@gmail.com> <4997ef3c-5867-7ce0-73a2-f4381cf0879b@wanadoo.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4997ef3c-5867-7ce0-73a2-f4381cf0879b@wanadoo.fr> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, [...] > > > Jim, Florian and Lorenzo - is this something that would be OK with you, > > > or you would rather keep things as they were? > > > > I would be tempted to leave the code as-is, but if we do we are probably > > bound to seeing patches like Christophe's in the future to address the > > Even if I don't find this report in the Coverity database, it should from > around April 2018. > So, if you have not already received several patches for that, I doubt that > you will receive many in the future. > > > My own feeling is that using a long (and not a long *) as a bitmap, and > accessing it with &long may look spurious to a reader. > That said, it works. > > So, I let you decide if the patch is of any use. Should I need to tweak or > resend it, let me know. I would be pro taking it, not only to addresses the Coverity complaint, but also to align the code with other drivers a little bit more. Only if the driver maintainers have no objection, that is. Krzysztof