soc: qcom: rmtfs: allow building the module with COMPILE_TEST=y
Subsystems (2)
PATCH 1/2 soc: qcom: rmtfs: allow building the module with COMPILE_TEST=y
From: Bartosz Golaszewski <[email protected]>
Make it possible to build the module when COMPILE_TEST is enabled for better build coverage.
--- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/qcom/Kconfig +1 -1
@@ -139,7 +139,7 @@ config QCOM_RAMP_CTRL config QCOM_RMTFS_MEM tristate "Qualcomm Remote Filesystem memory driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST select QCOM_SCM help The Qualcomm remote filesystem memory driver is used for allocating
Signature · 1 line
2.43.0
PATCH 2/2 soc: qcom: rmtfs: constify rmtfs_class
From: Bartosz Golaszewski <[email protected]>
The rmtfs class object is never modified and can be made constant.
--- drivers/soc/qcom/rmtfs_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/soc/qcom/rmtfs_mem.c +1 -1
@@ -125,7 +125,7 @@ static int qcom_rmtfs_mem_release(struct inode *inode, struct file *filp)return 0 ; } -static struct class rmtfs_class = { +static const struct class rmtfs_class = { .name ="rmtfs" , };
Signature · 1 line
2.43.0
Quoted 25 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Make it possible to build the module when
COMPILE_TESTis enabled for better build coverage.Signed-off-by Bartosz Golaszewski <[email protected]>--- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/soc/qcom/Kconfig +1
-2@@ -139,7 +139,7 @@ config QCOM_RAMP_CTRL config QCOM_RMTFS_MEM tristate "Qualcomm Remote Filesystem memory driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST select QCOM_SCM help The Qualcomm remote filesystem memory driver is used for allocating --
Quoted 2 lines
2.43.0
Gentle ping.
Bart
Re: [PATCH 2/2] soc: qcom: rmtfs: constify rmtfs_class
In reply to Bartosz GolaszewskiQuoted 9 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
The rmtfs class object is never modified and can be made constant.
Signed-off-by Bartosz Golaszewski <[email protected]>--- drivers/soc/qcom/rmtfs_mem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
With best wishes Dmitry
Quoted 10 lines · Bartosz Golaszewski
From: Bartosz Golaszewski <[email protected]>
Make it possible to build the module when
COMPILE_TESTis enabled for better build coverage.Signed-off-by Bartosz Golaszewski <[email protected]>--- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
With best wishes Dmitry