From: Ivan Priest Date: Fri, 15 Jun 2018 17:25:07 +0000 (+0100) Subject: [9610] wlbt: fix compiler warnings in wifilogger X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=562ff14f94f1b5304ecec30ad7430fb0b9637c8b;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [9610] wlbt: fix compiler warnings in wifilogger Clang exposed warnings Change-Id: I3d68b5bf8f6359f2854da952a25e2fde51346187 SCSC-Bug-Id: SSB-40929 Signed-off-by: Ivan Priest --- diff --git a/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.c b/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.c index 0ec377c38f6b..923bf3243b40 100644 --- a/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.c +++ b/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.c @@ -79,7 +79,7 @@ int scsc_wifilogger_ring_connectivity_fw_event(wlog_verbose_level lev, u16 fw_ev EXPORT_SYMBOL(scsc_wifilogger_ring_connectivity_fw_event); int scsc_wifilogger_ring_connectivity_driver_event(wlog_verbose_level lev, - u16 driver_event_id, u8 tag_count, ...) + u16 driver_event_id, unsigned int tag_count, ...) { int i; u64 timestamp; diff --git a/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.h b/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.h index 48acca811818..06c3106ff39e 100644 --- a/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.h +++ b/drivers/misc/samsung/scsc/scsc_wifilogger_ring_connectivity.h @@ -27,7 +27,7 @@ extern u32 cring_lev; bool scsc_wifilogger_ring_connectivity_init(void); int scsc_wifilogger_ring_connectivity_driver_event(wlog_verbose_level lev, - u16 driver_event_id, u8 tag_count, ...); + u16 driver_event_id, unsigned int tag_count, ...); int scsc_wifilogger_ring_connectivity_fw_event(wlog_verbose_level lev, u16 fw_event_id, u64 fw_timestamp, void *fw_bulk_data, size_t fw_blen);