mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 23:38:12 +00:00
Kernel: Use a FlatPtr for the "argument" to ioctl()
Since it's often used to pass pointers, it should really be a FlatPtr.
This commit is contained in:
parent
b8af5cd8da
commit
b3736c1b1e
14 changed files with 14 additions and 14 deletions
|
@ -192,7 +192,7 @@ KResultOr<Region*> BXVGADevice::mmap(Process& process, FileDescription&, Virtual
|
|||
return region;
|
||||
}
|
||||
|
||||
int BXVGADevice::ioctl(FileDescription&, unsigned request, unsigned arg)
|
||||
int BXVGADevice::ioctl(FileDescription&, unsigned request, FlatPtr arg)
|
||||
{
|
||||
REQUIRE_PROMISE(video);
|
||||
switch (request) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue