From 2a1b7faca59fe91191481e55f436dc4e187ffa5a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Fri, 21 Jan 2022 16:30:01 +0100 Subject: [PATCH] logger: fix type mismatch on arm64 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Iba4d8d53ed2c9244e6b4f2c87e626d001f42c629 Signed-off-by: Łukasz Stelmach --- kernel/logger.c | 8 ++++---- packaging/linux-tizen-modules-source.spec | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 -- 2.34.1