File tree 1 file changed +3
-6
lines changed
uefi/src/proto/media/file
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -43,12 +43,9 @@ pub trait File: Sized {
43
43
/// # Errors
44
44
///
45
45
/// See section `EFI_FILE_PROTOCOL.Open()` in the UEFI Specification for more details.
46
- ///
47
- /// ## Note
48
- ///
49
- /// Although [`INVALID_PARAMETER`] is not defined as an error in the UEFI Specification,
50
- /// it can be returned if the opened filename exceeds the maximum length of 255 UCS-2
51
- /// characters (not including the null terminator).
46
+ /// Note that [`INVALID_PARAMETER`] is not listed in the specification as one of the
47
+ /// errors returned by this function, but some implementations (such as EDK2) perform
48
+ /// additional validation and may return that status for invalid inputs.
52
49
///
53
50
/// [`INVALID_PARAMETER`]: uefi::Status::INVALID_PARAMETER
54
51
///
You can’t perform that action at this time.
0 commit comments