From 51baa5054dc5bdd7312fff5222329bdbb88fdab1 Mon Sep 17 00:00:00 2001 From: chrisl7 Date: Fri, 30 Jun 2023 16:01:28 +0000 Subject: [PATCH] sapphire-kernel: kernel-headers: Fix kernel-headers error build Signed-off-by: chrisl7 Change-Id: I706cd737ef73bcd03ae10cce9c6cd66f94e343a5 --- kernel-headers/display/media/mmm_color_fmt.h | 1 + kernel-headers/linux/udp.h | 9 +-------- kernel-headers/sound/devdep_params.h | 2 +- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/kernel-headers/display/media/mmm_color_fmt.h b/kernel-headers/display/media/mmm_color_fmt.h index ff1335a..2ecf88a 100644 --- a/kernel-headers/display/media/mmm_color_fmt.h +++ b/kernel-headers/display/media/mmm_color_fmt.h @@ -887,6 +887,7 @@ static inline unsigned int MMM_COLOR_FMT_Y_STRIDE(unsigned int color_fmt, case MMM_COLOR_FMT_P010_512: alignment = 512; stride = MMM_COLOR_FMT_ALIGN(width * 2, alignment); + break; default: break; } diff --git a/kernel-headers/linux/udp.h b/kernel-headers/linux/udp.h index d0a7223..0e098bf 100644 --- a/kernel-headers/linux/udp.h +++ b/kernel-headers/linux/udp.h @@ -5,7 +5,7 @@ * interface as the means of communication with the user level. * * Definitions for the UDP protocol. - * +/ * * Version: @(#)udp.h 1.0.2 04/28/93 * * Author: Fred N. van Kempen, @@ -20,13 +20,6 @@ #include -struct udphdr { - __be16 source; - __be16 dest; - __be16 len; - __sum16 check; -}; - /* UDP socket options */ #define UDP_CORK 1 /* Never send partially complete segments */ #define UDP_ENCAP 100 /* Set the socket to accept encapsulated packets */ diff --git a/kernel-headers/sound/devdep_params.h b/kernel-headers/sound/devdep_params.h index f598a0f..d7c99df 100644 --- a/kernel-headers/sound/devdep_params.h +++ b/kernel-headers/sound/devdep_params.h @@ -9,7 +9,7 @@ struct dolby_param_data { __s32 be_id; __s32 param_id; __s32 length; - __s32 __user *data; + __s32 data; }; struct dolby_param_license {