From 07146dfdfd4876da12fe3fb9a1ec20c77b5fcf34 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 20 Jul 2026 18:07:05 +0000 Subject: [PATCH] libqcdm: minor fix in comment formatting Signed-off-by: Aleksander Morgado --- libqcdm/src/logs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libqcdm/src/logs.c b/libqcdm/src/logs.c index 090e0a4f..509b9a2f 100644 --- a/libqcdm/src/logs.c +++ b/libqcdm/src/logs.c @@ -98,10 +98,10 @@ qcdm_log_item_evdo_pilot_sets_v2_new (const char *buf, size_t len, int *out_erro pilot_sets = (DMLogItemEvdoPilotSetsV2 *) log_cmd->data; - /* check_log_item() guarantees len >= sizeof (DMCmdLog) + sizeof (DMLogItemEvdoPilotSetsV2), - * so 'avail' cannot underflow. */ /* Ensure the flexible sets[] array actually contains as many entries as - * the header claims; the modem fully controls these counts. */ + * the header claims; the modem fully controls these counts. check_log_item() + * guarantees len >= sizeof (DMCmdLog) + sizeof (DMLogItemEvdoPilotSetsV2), + * so 'avail' cannot underflow.*/ avail = len - sizeof (DMCmdLog) - sizeof (DMLogItemEvdoPilotSetsV2); sets_len = ((size_t) pilot_sets->active_count + (size_t) pilot_sets->candidate_count