[PATCH] firmware: arm_ffa: Declare ffa_bus_type structure in the header

Sudeep Holla sudeep.holla at arm.com
Mon Nov 13 04:25:26 PST 2023


On Tue, 24 Oct 2023 11:57:15 +0100, Sudeep Holla wrote:
> smatch reports:
> drivers/firmware/arm_ffa/bus.c:108:17: warning:
> 	symbol 'ffa_bus_type' was not declared. Should it be static?
> 
> ffa_bus_type is exported to be useful in the FF-A driver. So this
> warning is not correct. However, declaring the ffa_bus_type structure
> in the header like many other bus_types do already removes this warning.
> So let us just do the same and get rid of the warning.
> 
> [...]

Applied to sudeep.holla/linux (for-next/ffa/fixes), thanks!

[1/1] firmware: arm_ffa: Declare ffa_bus_type structure in the header
      https://git.kernel.org/sudeep.holla/c/3fad96e9b21b
--
Regards,
Sudeep




More information about the linux-arm-kernel mailing list