On Wed, Aug 25, 2021 at 03:25:14PM -0700, Jian Cai wrote:
This fixes warnings with -Wimplicit-function-declaration, e.g.
^[[1m/mnt/host/source/src/third_party/kernel/v5.4/drivers/hwtracing/coresight/coresight-syscfg.c:455:15: ^[[0m^[[0;1;31merror: ^[[0m^[[1mimplicit declaration of function 'kzalloc' [-Werror,-Wimplicit-function-declaration]^[[0m
csdev_item = kzalloc(sizeof(struct cscfg_registered_csdev), GFP_KERNEL);
^[[0;1;32m ^
You might want to split this into multiple lines and remove the ANSI
escape codes. Otherwise
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Guenter
From: Doug Anderson <dianders@chromium.org> Date: 2021-08-26 16:20:00
Hi,
On Wed, Aug 25, 2021 at 3:25 PM Jian Cai [off-list ref] wrote:
This fixes warnings with -Wimplicit-function-declaration, e.g.
^[[1m/mnt/host/source/src/third_party/kernel/v5.4/drivers/hwtracing/coresight/coresight-syscfg.c:455:15: ^[[0m^[[0;1;31merror: ^[[0m^[[1mimplicit declaration of function 'kzalloc' [-Werror,-Wimplicit-function-declaration]^[[0m
csdev_item = kzalloc(sizeof(struct cscfg_registered_csdev), GFP_KERNEL);
^[[0;1;32m ^
Signed-off-by: Jian Cai <redacted>
---
drivers/hwtracing/coresight/coresight-syscfg.c | 1 +
1 file changed, 1 insertion(+)
Can you figure out which patch introduced these warnings and add a "Fixes" tag?
-Doug
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Hi,
On Wed, Aug 25, 2021 at 3:25 PM Jian Cai [off-list ref] wrote:
quoted
This fixes warnings with -Wimplicit-function-declaration, e.g.
^[[1m/mnt/host/source/src/third_party/kernel/v5.4/drivers/hwtracing/coresight/coresight-syscfg.c:455:15: ^[[0m^[[0;1;31merror: ^[[0m^[[1mimplicit declaration of function 'kzalloc' [-Werror,-Wimplicit-function-declaration]^[[0m
csdev_item = kzalloc(sizeof(struct cscfg_registered_csdev), GFP_KERNEL);
^[[0;1;32m ^
Signed-off-by: Jian Cai <redacted>
---
drivers/hwtracing/coresight/coresight-syscfg.c | 1 +
1 file changed, 1 insertion(+)
Can you figure out which patch introduced these warnings and add a "Fixes" tag?
Assuming the SHA is stable, that would be commit 85e2414c518a
("coresight: syscfg: Initial coresight system configuration")
Guenter
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel