linux/drivers/bus/fsl-mc
Diana Craciun 7490cf5e18 bus/fsl-mc: Do no longer export the total number of irqs outside dprc_scan_objects
The total number of interrupts is only used for some checks
outside the dprc_scan_objects function. Furthermore, in some
situations the check is made twice. Move the bounds check inside
the function for all situations.

Reviewed-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Acked-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Link: https://lore.kernel.org/r/20200929085441.17448-2-diana.craciun@oss.nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-10-02 16:05:01 +02:00
..
dpbp.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpcon.c bus: fsl-mc: remove duplicated include files 2018-12-06 15:53:20 +01:00
dpmcp.c bus: fsl-mc: change mc_command in fsl_mc_command 2018-03-23 15:52:48 +01:00
dprc-driver.c bus/fsl-mc: Do no longer export the total number of irqs outside dprc_scan_objects 2020-10-02 16:05:01 +02:00
dprc.c bus: fsl-mc: add the fsl_mc_get_endpoint function 2019-10-31 14:19:45 -07:00
fsl-mc-allocator.c bus: fsl-mc: remove explicit device_link_del 2019-08-16 14:17:35 -05:00
fsl-mc-bus.c bus: fsl-mc: MC control registers are not always available 2020-10-02 13:25:32 +02:00
fsl-mc-msi.c bus: fsl-mc: Add ACPI support for fsl-mc 2020-07-28 15:51:32 +01:00
fsl-mc-private.h bus/fsl-mc: Refactor the MSI domain creation in the DPRC driver 2020-07-28 15:51:32 +01:00
Kconfig
Makefile staging: fsl-mc: Move DPCON out of staging 2018-03-14 13:18:42 +01:00
mc-io.c bus: fsl-mc: use raw spin lock to serialize mc cmds 2020-07-23 16:54:33 +02:00
mc-sys.c bus: fsl-mc: use raw spin lock to serialize mc cmds 2020-07-23 16:54:33 +02:00