Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

samples: qmi: Use the unified QMI service ID instead of defining it locally

Instead of defining a local macro with a custom name for the QMI
service identifier, use the one provided in qmi.h and remove the
locally defined macro.

Signed-off-by: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20260309230346.3584252-9-daniel.lezcano@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>

authored by

Daniel Lezcano and committed by
Bjorn Andersson
8baf6b3b 24f80cbe

+1 -1
+1 -1
samples/qmi/qmi_sample_client.c
··· 592 592 if (ret < 0) 593 593 goto err_unregister_driver; 594 594 595 - qmi_add_lookup(&lookup_client, 15, 0, 0); 595 + qmi_add_lookup(&lookup_client, QMI_SERVICE_ID_TEST, 0, 0); 596 596 597 597 return 0; 598 598