From 8aec2b8fa7774361cd5b2918f5fb32c9d60d9377 Mon Sep 17 00:00:00 2001 From: Sanath Kumar Date: Thu, 13 Apr 2017 22:00:04 -0500 Subject: [PATCH] sparc64: Fix incorrect error print in DAX driver when validating ccb Orabug: 25835254 This fixes an incorrect stringification in a macro that prints invalid address type in a CCB. Reviewed-by: Rob Gardner Signed-off-by: Sanath Kumar Signed-off-by: Allen Pais --- arch/sparc/dax/dax_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/dax/dax_impl.h b/arch/sparc/dax/dax_impl.h index db974d6f184c..045cc92b30ff 100644 --- a/arch/sparc/dax/dax_impl.h +++ b/arch/sparc/dax/dax_impl.h @@ -93,7 +93,7 @@ extern const struct vm_operations_struct dax_vm_ops; if (!((hdr)->at_##type == CCB_AT_VA || \ (hdr)->at_##type == CCB_AT_IMM)) { \ dax_err( \ - "invalid at_##type address type (%d) in user CCB", \ + "invalid at_"#type" address type (%d) in user CCB", \ (hdr)->at_##type); \ goto label; \ } \ -- 2.50.1