Skip to content

Commit 5e94f4d

Browse files
committed
uefi-raw: Remove unnecessary mutability on 2 methods of ExtScsiPassThruProtocol
1 parent 899afef commit 5e94f4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

uefi-raw/src/protocol/scsi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ pub struct ExtScsiPassThruProtocol {
206206
target: *mut *const u8,
207207
lun: *mut u64,
208208
) -> Status,
209-
pub reset_channel: unsafe extern "efiapi" fn(this: *mut Self) -> Status,
209+
pub reset_channel: unsafe extern "efiapi" fn(this: *const Self) -> Status,
210210
pub reset_target_lun:
211-
unsafe extern "efiapi" fn(this: *mut Self, target: *const u8, lun: u64) -> Status,
211+
unsafe extern "efiapi" fn(this: *const Self, target: *const u8, lun: u64) -> Status,
212212
pub get_next_target:
213213
unsafe extern "efiapi" fn(this: *const Self, target: *mut *mut u8) -> Status,
214214
}

0 commit comments

Comments
 (0)