History

uapi: sed-opal fix IOW for activate lsp to use correct struct

The IOC_OPAL_ACTIVATE_LSP took the wrong strcure which would give us the wrong size when using _IOC_SIZE, switch it to the right structure. Fixes: 058f8a2 ("Include: Uapi: Add user ABI for Sed/Opal")

Scott Bauer committed 9 years ago

Commit 24bff4d1 parent 853fe1b1 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/sed-opal.h+1−1
@@ -106,7 +106,7 @@ struct opal_mbr_data { · 105 unmodified lines
106#define IOC_OPAL_SAVE _IOW('p', 220, struct opal_lock_unlock)106#define IOC_OPAL_SAVE _IOW('p', 220, struct opal_lock_unlock)
107#define IOC_OPAL_LOCK_UNLOCK _IOW('p', 221, struct opal_lock_unlock)107#define IOC_OPAL_LOCK_UNLOCK _IOW('p', 221, struct opal_lock_unlock)
108#define IOC_OPAL_TAKE_OWNERSHIP _IOW('p', 222, struct opal_key)108#define IOC_OPAL_TAKE_OWNERSHIP _IOW('p', 222, struct opal_key)
109#define IOC_OPAL_ACTIVATE_LSP _IOW('p', 223, struct opal_key)109#define IOC_OPAL_ACTIVATE_LSP _IOW('p', 223, struct opal_lr_act)
110#define IOC_OPAL_SET_PW _IOW('p', 224, struct opal_new_pw)110#define IOC_OPAL_SET_PW _IOW('p', 224, struct opal_new_pw)
111#define IOC_OPAL_ACTIVATE_USR _IOW('p', 225, struct opal_session_info)111#define IOC_OPAL_ACTIVATE_USR _IOW('p', 225, struct opal_session_info)
112#define IOC_OPAL_REVERT_TPR _IOW('p', 226, struct opal_key)112#define IOC_OPAL_REVERT_TPR _IOW('p', 226, struct opal_key)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t