diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-04-08 08:35:30 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-04-08 08:35:30 +0200 |
commit | b6f139947e93fec1ade5faf3517dfb2b3b9bcd41 (patch) | |
tree | 3edca73fdec279de1d8f8a21ae2de90c78bf1e12 /drivers/media/platform/qcom/venus/hfi_venus.c | |
parent | c1c1d437b1f0a84de6b53416026f7ea1ef3df996 (diff) |
media: venus: use NULL instead of zero for pointers
As reported by sparse:
drivers/media/platform/qcom/venus/core.c:227:41: warning: Using plain integer as NULL pointer
drivers/media/platform/qcom/venus/core.c:228:34: warning: Using plain integer as NULL pointer
Two vars are using zero instead of NULL for pointers. Not really
an issue, but using NULL makes it clearer that the init data is
expecting a pointer.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/platform/qcom/venus/hfi_venus.c')
0 files changed, 0 insertions, 0 deletions