diff options
author | Danilo Krummrich <dakr@redhat.com> | 2024-01-11 23:40:31 +0100 |
---|---|---|
committer | Danilo Krummrich <dakr@redhat.com> | 2024-01-11 23:40:31 +0100 |
commit | 969ca11e50b84633c60bfc88faee025b79891c24 (patch) | |
tree | 5049ce49a6af78bbf9ef9fd1468ff707a7d27d19 | |
parent | 341e9b5a21da61848a018d4e5e72dfd8f7325704 (diff) |
nova: bios: fix warnings of unhandled results
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nova/bios.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nova/bios.rs b/drivers/gpu/drm/nova/bios.rs index 2433d583e19a..324254d7d162 100644 --- a/drivers/gpu/drm/nova/bios.rs +++ b/drivers/gpu/drm/nova/bios.rs @@ -155,7 +155,7 @@ impl Bios { let mut data = 0; - Self::bit_entry(bios, 112 as u8, &mut bit_p); + let _ = Self::bit_entry(bios, 112 as u8, &mut bit_p); if bit_p.id != 112 as u8 { return 0; } @@ -379,7 +379,7 @@ impl Bios { let mut bit_entry: BitEntry = Default::default(); - Bios::bit_entry(self, 'i' as u8, &mut bit_entry); + Bios::bit_entry(self, 'i' as u8, &mut bit_entry)?; pr_info!("bit i {:#x} {:#x}\n", bit_entry.offset, bit_entry.length); if bit_entry.length >= 4 { |