Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp777055pxb; Mon, 8 Nov 2021 23:22:11 -0800 (PST) X-Google-Smtp-Source: ABdhPJz+RmkCL4+JpwZDsyBNNB4pSC85YbpGyKvx/kKV+T0EJ5m7c4EyGzUsSKuuNSAaINlOvkNC X-Received: by 2002:a05:6602:2a42:: with SMTP id k2mr3448870iov.132.1636442531064; Mon, 08 Nov 2021 23:22:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636442531; cv=none; d=google.com; s=arc-20160816; b=o10tZk7FDtdS7WEIoLFkoW9R+0yhXmwojrzMQ3v4yJBpkdb4YS+9NEJs28nOils1S4 aLYB9f5PovesPWDMQIx6S/hsz8sTQ6A1hPgNGaKzKZo4vsdWgzEE9Ldu5U0tRVnrXvRu g1FB/7OEC+qk9XGS2Su9DizxlhBrqloJX1Gb/Wxw2rommmQ1V+EWpH1+RY+fcDQEPSDz MmtPxUxTRgrETJFYpaljqMq3+EqWaUVV6uxahunGfpdHeOfFjzdvoVygkygEqgTicFHB SAQkJ9q/oZFeLJcrOh1R53yUOq620hr7JlqEe8Pe7+3HLuDtV3JAstfkBCh8viKnqNnp m4YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=h3desR1Vsd4jK6UvMi7IedYToe+3uCEnZSZG2vFgpWo=; b=nEFRpUa66DFw5gRwJ/9M1zU+9iiZlCwaThiVJQqWFrdJI0oA8hyqC2W7QlS6hDn0Nz dEaht1y7D3NaRE6iU7/t+vRH+XjmKLlk8u3KwblTApxTdiYXyYzI6mWtwE6woJFxHTFy hSZQKxocOFKg7ksd9XIWJuhS8xGNpSi0QAwy3HKXOzqisLPhlA1YaZ4YcEkIFd4V7n0D d0urqIIMcxdfevMp+XVQQPiGrlNJRib95nOdna7SwEj9whjzF/y5qGKeYB3VoiuZmhhC T57JwqEDajQqRbqXZY9qqlCMDDd0bST2392QT5uHJ3J3mbR92MCgFgibWl/PzTsjYRo+ blNw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L3Lt3FiC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q3si37904795iow.76.2021.11.08.23.21.55; Mon, 08 Nov 2021 23:22:11 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=L3Lt3FiC; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240999AbhKHXr6 (ORCPT + 99 others); Mon, 8 Nov 2021 18:47:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53958 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240834AbhKHXr5 (ORCPT ); Mon, 8 Nov 2021 18:47:57 -0500 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB40AC061570; Mon, 8 Nov 2021 15:45:12 -0800 (PST) Received: by mail-pl1-x62c.google.com with SMTP id y7so448650plp.0; Mon, 08 Nov 2021 15:45:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=h3desR1Vsd4jK6UvMi7IedYToe+3uCEnZSZG2vFgpWo=; b=L3Lt3FiC1S8s5dsAC+kr8MjxPtoYink0ysIyDMwcwDHbV9abqbVM9hNSEFTnYeOwd3 7y7+TXzgsl8GmCuSjl/YRp7gZHeZ+0jsYSVzQISEgBEncICCdOx2tZYfk/uhDPnIaLr+ bg/pjYvuVFvXmnCcG8DkWbFAt/wKSyfv1pbL7KWdsXYIyYiBcGebmt2xjILIhV/Pn1HM SG0h1u4YHTFnzcdb/yM9Mzgs3MRohz4q4jW6GGztmSzWuSWRT8VskhpsLST6f4oiGW5c sJ872iholrrLoC/hUw19SfMGMPldjG+WQ+Dklq+01q5CXpNPdhHmCRNvbn3S1hQr9BqO 3QUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=h3desR1Vsd4jK6UvMi7IedYToe+3uCEnZSZG2vFgpWo=; b=zXb6ArUf6FexPEYHbHHvnaEW51Zr+J8c+fgHkP6norUhIfSS3ytdS34Rlr5dlCENjx 9o1M7W3HoKjYvlZadrz5VWCTFmH+HlXe8LCvmmteTbEvDOZKDOJlA1aXHwWCy04oZSdd PUP2n9ar0FYoHfgT3SOcZe6dy9lf2Ffe7YPTSrShvS+HD/z/b5KerGc3vJF6KvDkkFpD n0E1SYWw2s6K9Oc5f56yyGjpzHdv8zFY79L3dJ4pJoKjR9S2TNB+xBkcq8vn9buRGaMf h7T6RfQxpRqxYdG48sURDYnXMIiUbPYcMTIkm9cihd00/raQYw2DTDX+iQ/JhKGAC+wS 7paQ== X-Gm-Message-State: AOAM531J/9PeFEpgFhU2KVxThLfdcZRD1tf5zvS7ClkFzgMByP97gFjc nUek7g5KkXEgT3BhOAPapTJhepKAQSQ= X-Received: by 2002:a17:902:6902:b0:13f:c1cd:88f1 with SMTP id j2-20020a170902690200b0013fc1cd88f1mr2732134plk.36.1636415111871; Mon, 08 Nov 2021 15:45:11 -0800 (PST) Received: from [10.67.48.245] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id z23sm13038540pgn.14.2021.11.08.15.45.10 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 08 Nov 2021 15:45:11 -0800 (PST) Subject: Re: [PATCH] PCI: brcmstb: Declare a bitmap as a bitmap, not as a plain 'unsigned long' To: =?UTF-8?Q?Krzysztof_Wilczy=c5=84ski?= , Christophe JAILLET Cc: 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 References: <4d556ac3-b936-b99c-5a50-9add8607047d@gmail.com> <4997ef3c-5867-7ce0-73a2-f4381cf0879b@wanadoo.fr> From: Florian Fainelli Message-ID: Date: Mon, 8 Nov 2021 15:45:10 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/8/21 3:30 PM, Krzysztof WilczyƄski wrote: > 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. Driver consistency is a strong argument, fine with me then. -- Florian