From: Łukasz Stelmach Date: Fri, 21 Jan 2022 15:30:01 +0000 (+0100) Subject: logger: fix type mismatch on arm64 X-Git-Tag: submit/tizen/20220121.145113^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2a1b7faca59fe91191481e55f436dc4e187ffa5a;p=platform%2Fkernel%2Flinux-tizen-modules-source.git logger: fix type mismatch on arm64 Change-Id: Iba4d8d53ed2c9244e6b4f2c87e626d001f42c629 Signed-off-by: Łukasz Stelmach --- diff --git a/kernel/logger.c b/kernel/logger.c index 9ae1698..8b2cda9 100644 --- a/kernel/logger.c +++ b/kernel/logger.c @@ -62,19 +62,19 @@ #define LOGGER_SYSTEM_BUFFER_SIZE 256 #endif -static size_t main_buffer_size = LOGGER_MAIN_BUFFER_SIZE; +static int main_buffer_size = LOGGER_MAIN_BUFFER_SIZE; module_param(main_buffer_size, int, 0444); MODULE_PARM_DESC(main_buffer_size, "Size of the /dev/main buffer"); -static size_t events_buffer_size = LOGGER_EVENTS_BUFFER_SIZE; +static int events_buffer_size = LOGGER_EVENTS_BUFFER_SIZE; module_param(events_buffer_size, int, 0444); MODULE_PARM_DESC(events_buffer_size, "Size of the /dev/events buffer"); -static size_t radio_buffer_size = LOGGER_RADIO_BUFFER_SIZE; +static int radio_buffer_size = LOGGER_RADIO_BUFFER_SIZE; module_param(radio_buffer_size, int, 0444); MODULE_PARM_DESC(radio_buffer_size, "Size of the /dev/radio buffer"); -static size_t system_buffer_size = LOGGER_SYSTEM_BUFFER_SIZE; +static int system_buffer_size = LOGGER_SYSTEM_BUFFER_SIZE; module_param(system_buffer_size, int, 0444); MODULE_PARM_DESC(system_buffer_size, "Size of the /dev/system buffer"); diff --git a/packaging/linux-tizen-modules-source.spec b/packaging/linux-tizen-modules-source.spec index c355209..a8ba991 100644 --- a/packaging/linux-tizen-modules-source.spec +++ b/packaging/linux-tizen-modules-source.spec @@ -1,5 +1,5 @@ Name: linux-tizen-modules-source -Version: 7.0.6 +Version: 7.0.7 Release: 0 License: GPL-2.0+ Source0: %{name}-%{version}.tar.xz