Re: [PATCH] soc: qcom: stats: Express AOSS QMP module dependency

From: Konrad Dybcio
Date: Wed Dec 06 2023 - 07:23:32 EST




On 12/6/23 05:38, Bjorn Andersson wrote:
In the case that the Qualcomm Sleep stats driver is builtin and the AOSS
QMP driver is built as a module, neither the implementation nor the stub
functions are available during linking, resulting in the following
errors:

qcom_stats.c:(.text+0x33c): undefined reference to `qmp_send'
qcom_stats.c:(.text+0x8a0): undefined reference to `qmp_get'

Resolve this by expressing the dependency between the two modules.

Fixes: e84e61bdb97c ("soc: qcom: stats: Add DDR sleep stats")
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Closes: https://lore.kernel.org/linux-arm-msm/202312061258.nAVYPFq2-lkp@xxxxxxxxx/
Signed-off-by: Bjorn Andersson <quic_bjorande@xxxxxxxxxxx>
---
Reviewed-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxx>

Konrad