mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
gpu: nova-core: Fix capitalization of some comments
Some comments that already existed didn't start with a capital letter, this patch fixes that. Signed-off-by: Daniel del Castillo <delcastillodelarosadaniel@gmail.com> [acourbot@nvidia.com: set prefix to "gpu: nova-core:".] Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Message-ID: <20251104193756.57726-2-delcastillodelarosadaniel@gmail.com>
This commit is contained in:
parent
473f778592
commit
571ce401a7
|
|
@ -59,7 +59,7 @@ struct FalconAppifHdrV1 {
|
|||
entry_size: u8,
|
||||
entry_count: u8,
|
||||
}
|
||||
// SAFETY: any byte sequence is valid for this struct.
|
||||
// SAFETY: Any byte sequence is valid for this struct.
|
||||
unsafe impl FromBytes for FalconAppifHdrV1 {}
|
||||
|
||||
#[repr(C, packed)]
|
||||
|
|
@ -68,7 +68,7 @@ struct FalconAppifV1 {
|
|||
id: u32,
|
||||
dmem_base: u32,
|
||||
}
|
||||
// SAFETY: any byte sequence is valid for this struct.
|
||||
// SAFETY: Any byte sequence is valid for this struct.
|
||||
unsafe impl FromBytes for FalconAppifV1 {}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
@ -92,7 +92,7 @@ struct FalconAppifDmemmapperV3 {
|
|||
ucode_cmd_mask1: u32,
|
||||
multi_tgt_tbl: u32,
|
||||
}
|
||||
// SAFETY: any byte sequence is valid for this struct.
|
||||
// SAFETY: Any byte sequence is valid for this struct.
|
||||
unsafe impl FromBytes for FalconAppifDmemmapperV3 {}
|
||||
// SAFETY: This struct doesn't contain uninitialized bytes and doesn't have interior mutability.
|
||||
unsafe impl AsBytes for FalconAppifDmemmapperV3 {}
|
||||
|
|
@ -106,7 +106,7 @@ struct ReadVbios {
|
|||
size: u32,
|
||||
flags: u32,
|
||||
}
|
||||
// SAFETY: any byte sequence is valid for this struct.
|
||||
// SAFETY: Any byte sequence is valid for this struct.
|
||||
unsafe impl FromBytes for ReadVbios {}
|
||||
// SAFETY: This struct doesn't contain uninitialized bytes and doesn't have interior mutability.
|
||||
unsafe impl AsBytes for ReadVbios {}
|
||||
|
|
@ -120,7 +120,7 @@ struct FrtsRegion {
|
|||
size: u32,
|
||||
ftype: u32,
|
||||
}
|
||||
// SAFETY: any byte sequence is valid for this struct.
|
||||
// SAFETY: Any byte sequence is valid for this struct.
|
||||
unsafe impl FromBytes for FrtsRegion {}
|
||||
// SAFETY: This struct doesn't contain uninitialized bytes and doesn't have interior mutability.
|
||||
unsafe impl AsBytes for FrtsRegion {}
|
||||
|
|
@ -132,7 +132,7 @@ struct FrtsCmd {
|
|||
read_vbios: ReadVbios,
|
||||
frts_region: FrtsRegion,
|
||||
}
|
||||
// SAFETY: any byte sequence is valid for this struct.
|
||||
// SAFETY: Any byte sequence is valid for this struct.
|
||||
unsafe impl FromBytes for FrtsCmd {}
|
||||
// SAFETY: This struct doesn't contain uninitialized bytes and doesn't have interior mutability.
|
||||
unsafe impl AsBytes for FrtsCmd {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user