]> Gentwo Git Trees - linux/.git/commit
gpu: nova-core: bitfield: remove BitOr implementation
authorAlexandre Courbot <acourbot@nvidia.com>
Wed, 22 Oct 2025 10:50:58 +0000 (19:50 +0900)
committerAlexandre Courbot <acourbot@nvidia.com>
Sat, 25 Oct 2025 04:16:31 +0000 (13:16 +0900)
commitca16b15e78f4dee1631c0a68693f5e7d9b3bb3ec
tree6a3010c7caebb7e71d5994bd4428c4abe37f7491
parente6b8932b9374bd0591bb4dda3eb3e4f1cc50655e
gpu: nova-core: bitfield: remove BitOr implementation

Using this operand can produce invalid values. It also doesn't bring
any benefit as one can use the builder pattern to assemble a new value.

Reported-by: Edwin Peer <epeer@nvidia.com>
Link: https://lore.kernel.org/rust-for-linux/F3853912-2C1C-4F9B-89B0-3168689F35B3@nvidia.com/
Reviewed-by: Joel Fernandes <joelagnelf@nvidia.com>
Reviewed-by: Danilo Krummrich <dakr@kernel.org>
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Message-ID: <20251022-nova-bitfield-v1-3-73bc0988667b@nvidia.com>
drivers/gpu/nova-core/bitfield.rs