Commit 8f713a9d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by sanglipeng
Browse files

staging: vc04_services: fix gcc-13 build warning

stable inclusion
from stable-v5.10.184
commit b6f309e9d24e9b14ffa8d35422b55fec3b9e713e
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8IRR2

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=b6f309e9d24e9b14ffa8d35422b55fec3b9e713e



--------------------------------

Not upstream as newer kernels fixed this properly.

Fix up a mismatched function prototype warning in the vc04_services
driver that gcc-13 shows.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent e2b94f02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2315,7 +2315,7 @@ vchiq_arm_init_state(struct vchiq_state *state,
	return VCHIQ_SUCCESS;
}

enum vchiq_status
int
vchiq_use_internal(struct vchiq_state *state, struct vchiq_service *service,
		   enum USE_TYPE_E use_type)
{
@@ -2375,7 +2375,7 @@ vchiq_use_internal(struct vchiq_state *state, struct vchiq_service *service,
	return ret;
}

enum vchiq_status
int
vchiq_release_internal(struct vchiq_state *state, struct vchiq_service *service)
{
	struct vchiq_arm_state *arm_state = vchiq_platform_get_arm_state(state);