Re: [PATCH] sparc64: Oracle DAX driver depends on SPARC64
From: David Miller
Date: Sun Mar 18 2018 - 11:54:50 EST
From: Guenter Roeck <linux@xxxxxxxxxxxx>
Date: Mon, 26 Feb 2018 15:21:18 -0800
> sparc:allmodconfig fails to build as follows.
>
> ERROR: "mdesc_release" [drivers/sbus/char/oradax.ko] undefined!
> ERROR: "sun4v_hvapi_register" [drivers/sbus/char/oradax.ko] undefined!
> ERROR: "mdesc_get_property" [drivers/sbus/char/oradax.ko] undefined!
> ERROR: "mdesc_node_by_name" [drivers/sbus/char/oradax.ko] undefined!
> ERROR: "mdesc_grab" [drivers/sbus/char/oradax.ko] undefined!
> ERROR: "sun4v_ccb_info" [drivers/sbus/char/oradax.ko] undefined!
> ERROR: "sun4v_ccb_submit" [drivers/sbus/char/oradax.ko] undefined!
> ERROR: "sun4v_ccb_kill" [drivers/sbus/char/oradax.ko] undefined!
>
> The symbols are only available with SPARC64 builds, thus the driver
> depends on it.
>
> Fixes: dd0273284c74 ("sparc64: Oracle DAX driver")
> Cc: Kees Cook <keescook@xxxxxxxxxxxx>
> Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
Applied, thank you.