diff options
author | Alexandre Courbot <acourbot@chromium.org> | 2019-06-14 03:56:21 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2019-06-21 17:09:30 -0400 |
commit | 86aed3f519312ee86bf6c618687aa1be08dd9ca4 (patch) | |
tree | 27c6727d4f566fa84fd21a21a48475860c8e17f3 /fs/ext2/dir.c | |
parent | d13b3cdcbacbeb31c0a4b5b3a63e855b4511fd85 (diff) | |
download | linux-86aed3f519312ee86bf6c618687aa1be08dd9ca4.tar.bz2 |
media: mtk-vcodec: avoid unneeded pointer-to-long conversions
The interface used to communicate with the firmware casts pointers
into unsigned longs and back again in order to store private
references, all of this for pointers that remain purely in the kernel.
Replace these unsigned longs with void pointers to make the code a bit
sturdier and easier to follow.
Also simplify some interfaces by removing arguments that could be
infered from others.
Signed-off-by: Alexandre Courbot <acourbot@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil-cisco@xs4all.nl: fix checkpatch alignment warning]
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'fs/ext2/dir.c')
0 files changed, 0 insertions, 0 deletions