]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sparc64: Fix incorrect error print in DAX driver when validating ccb
authorSanath Kumar <sanath.s.kumar@oracle.com>
Fri, 14 Apr 2017 03:00:04 +0000 (22:00 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 24 Apr 2017 04:43:29 +0000 (21:43 -0700)
Orabug: 25835254

This fixes an incorrect stringification in a macro that prints
invalid address type in a CCB.

Reviewed-by: Rob Gardner <rob.gardner@oracle.com>
Signed-off-by: Sanath Kumar <sanath.s.kumar@oracle.com>
Signed-off-by: Allen Pais <allen.pais@oracle.com>
arch/sparc/dax/dax_impl.h

index db974d6f184c5212f28d7f630ff8a3996925c48f..045cc92b30ff9ff7f9500abfc85a1e6fe184b848 100644 (file)
@@ -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;                                     \
                }                                                       \