mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
Documentation: nova: Fix bracket
Add missing ')'. Signed-off-by: Manuel Ebner <manuelebnerli@mailbox.org> Acked-by: Randy Dunlap <rdunlap@infradead.org> Link: https://patch.msgid.link/20260909135319.1364776-3-manuelebnerli@mailbox.org [acourbot: add missing `:` in commit title] Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
This commit is contained in:
parent
d669686f81
commit
66a2c223b6
|
|
@ -33,7 +33,7 @@ A good example from nova-core would be the ``Chipset`` enum type, which defines
|
|||
the value ``AD102``. When probing the GPU the value ``0x192`` can be read from a
|
||||
certain register indication the chipset AD102. Hence, the enum value ``AD102``
|
||||
should be derived from the number ``0x192``. Currently, nova-core uses a custom
|
||||
implementation (``Chipset::from_u32`` for this.
|
||||
implementation (``Chipset::from_u32``) for this.
|
||||
|
||||
Instead, it would be desirable to have something like the ``FromPrimitive``
|
||||
trait [1] from the num crate.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user