aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorAndreas Hindborg <[email protected]>2025-02-27 14:38:08 +0000
committerMiguel Ojeda <[email protected]>2025-03-20 20:44:47 +0000
commit50a5ff0a95a54d5a710f1f2547ecf8af12b6b83a (patch)
tree7c3a63e5beeebba9dc0a2842e68cdae2f7761caf /drivers/gpu/drm/amd/amdgpu/atom.c
parentrust: str: implement `PartialEq` for `BStr` (diff)
downloadkernel-50a5ff0a95a54d5a710f1f2547ecf8af12b6b83a.tar.gz
kernel-50a5ff0a95a54d5a710f1f2547ecf8af12b6b83a.zip
rust: str: implement `Index` for `BStr`
The `Index` implementation on `BStr` was lost when we switched `BStr` from a type alias of `[u8]` to a newtype. Add back `Index` by implementing `Index` for `BStr` when `Index` would be implemented for `[u8]`. Reviewed-by: Daniel Almeida <[email protected]> Tested-by: Daniel Almeida <[email protected]> Reviewed-by: Fiona Behrens <[email protected]> Signed-off-by: Andreas Hindborg <[email protected]> Reviewed-by: Alice Ryhl <[email protected]> Tested-by: Daniel Gomez <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions