diff options
| -rw-r--r-- | drivers/gpu/nova-core/vbios.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nova-core/vbios.rs b/drivers/gpu/nova-core/vbios.rs index 663fc50e8b66..5b5d9f38cbb3 100644 --- a/drivers/gpu/nova-core/vbios.rs +++ b/drivers/gpu/nova-core/vbios.rs @@ -901,7 +901,7 @@ struct PmuLookupTableEntry { impl PmuLookupTableEntry { fn new(data: &[u8]) -> Result<Self> { - if data.len() < 5 { + if data.len() < 6 { return Err(EINVAL); } |
