From: Sanath Kumar Date: Fri, 14 Apr 2017 03:00:04 +0000 (-0500) Subject: sparc64: Fix incorrect error print in DAX driver when validating ccb X-Git-Tag: v4.1.12-98.0.20170517_2143~33^2~5 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8aec2b8fa7774361cd5b2918f5fb32c9d60d9377;p=users%2Fjedix%2Flinux-maple.git 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 --- 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; \ } \