Skip to content

Commit

Permalink
Update aesd_ioctl.h
Browse files Browse the repository at this point in the history
Move reference to ioctl number to match latest location in the kernel source
  • Loading branch information
dwalkes authored Oct 31, 2022
1 parent 2c95858 commit 21907d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aesd-char-driver/aesd_ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ struct aesd_seekto {
uint32_t write_cmd_offset;
};

// Pick an arbitrary unused value from https://github.com/torvalds/linux/blob/master/Documentation/ioctl/ioctl-number.rst
// Pick an arbitrary unused value from https://github.com/torvalds/linux/blob/master/Documentation/userspace-api/ioctl/ioctl-number.rst
#define AESD_IOC_MAGIC 0x16

// Define a write command from the user point of view, use command number 1
Expand Down

0 comments on commit 21907d9

Please sign in to comment.