From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51B89C7EE26 for ; Tue, 23 May 2023 15:33:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237567AbjEWPdf (ORCPT ); Tue, 23 May 2023 11:33:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237363AbjEWPd1 (ORCPT ); Tue, 23 May 2023 11:33:27 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03B5D1B9 for ; Tue, 23 May 2023 08:33:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 70DB163244 for ; Tue, 23 May 2023 15:33:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98DA9C433EF; Tue, 23 May 2023 15:33:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1684855985; bh=osoUBAnh7wvCQvzNl0PgfYGMWjN8YEhX5fAYqCQLKzs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CsD5FvOLNBtOHCzlORiS08JfHlTgrKDJ5DgzJRAMX8Szo0TGh/MNFDjkA+4xEI7QY 0bfWA20QCAULF/6bcwFB8NE6zUyyyn3k0vBLfhFoqI8nPBO4wt42saFO/RVE3Zu2Bi eeMy2Q8jX8KFs+xm5e8cex9vAK5wFKb1WAxTcXB3om6BBMzThwoU6Sq+pFwkO/5GRU dB60z6Ya+Z9QtgAur3ziHuqpCRg8jez52BE0Kt6txc8lRoMu2Bk5WcDwpSIbT5Xuw+ gbtfRIEKPDv6JCdg7Ojri/pc3mE9N9OmRYYCbhZkqsu0YQIcFi1YuqptIZV13m8FEQ kA6x4UUKTr5TA== Date: Tue, 23 May 2023 08:33:04 -0700 From: Jakub Kicinski To: Peter Rosin Cc: LKML , Dinan Gunawardena , Kalle Valo , Johannes Berg Subject: Re: [PATCH] bitfield: suggest using bitwise OR when combining bitfields Message-ID: <20230523083304.4a02d16b@kernel.org> In-Reply-To: <9b872036-42ce-2d08-2e98-12bf0abf7095@axentia.se> References: <9b872036-42ce-2d08-2e98-12bf0abf7095@axentia.se> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 May 2023 14:16:30 +0200 Peter Rosin wrote: > Logical OR fails to deliver the desired result. Most of the time. > > Fixes: 3e9b3112ec74 ("add basic register-field manipulation macros") > Fixes: e2192de59e45 ("bitfield: add FIELD_PREP_CONST()") Fixes tags for comment changes are an overkill. The change looks good. Who are you expecting to take this patch? Feel free to repost this CCing netdev@ so networking can take it, otherwise maybe Andrew will? Not sure..