]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: fix usage of access_ok() kAPI
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Apr 2020 10:43:55 +0000 (12:43 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 10:32:14 +0000 (12:32 +0200)
commit04a8cf5520e3cf495a9724f7c6329031c58d1289
tree81c775d1ef1568d9402b3567f7e7988795cf5fc8
parent38278e27ac47586b09f8075d0b6251913a47c139
media: atomisp: fix usage of access_ok() kAPI

This macro had its first parameter lost. Remove it.

While on it, fix the alignments where this macro is used.

Fixes: 2fb4498d8456 ("Remove 'type' argument from access_ok() function")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp2/atomisp_compat_ioctl32.c