Searched hist:"8873 d1e2" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/include/linux/soc/qcom/ |
H A D | qcom_aoss.h | 8873d1e2 Fri Aug 11 15:58:38 CDT 2023 Bjorn Andersson <quic_bjorande@quicinc.com> soc: qcom: aoss: Format string in qmp_send()
The majority of callers to qmp_send() composes the message dynamically using some form of sprintf(), resulting in unnecessary complication and stack usage.
By changing the interface of qmp_send() to take a format string and arguments, the duplicated composition of the commands can be moved to a single location.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Link: https://lore.kernel.org/r/20230811205839.727373-4-quic_bjorande@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | qcom_aoss.c | 8873d1e2 Fri Aug 11 15:58:38 CDT 2023 Bjorn Andersson <quic_bjorande@quicinc.com> soc: qcom: aoss: Format string in qmp_send()
The majority of callers to qmp_send() composes the message dynamically using some form of sprintf(), resulting in unnecessary complication and stack usage.
By changing the interface of qmp_send() to take a format string and arguments, the duplicated composition of the commands can be moved to a single location.
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <quic_bjorande@quicinc.com> Link: https://lore.kernel.org/r/20230811205839.727373-4-quic_bjorande@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
|