From 984f4e9f2c4ec56fdf7ec2d71ce3cef82a0c2c4b Mon Sep 17 00:00:00 2001 From: Sanath Kumar Date: Mon, 10 Apr 2017 15:42:38 -0500 Subject: [PATCH] sparc64: Incorrect print by DAX driver when old driver API is used Orabug: 25835133 If an old dax driver API is used, it is the driver API version that is old, irrespective of the libdax version. Reviewed-by: Rob Gardner Reviewed-by: Shannon Nelson Signed-off-by: Sanath Kumar Signed-off-by: Allen Pais --- arch/sparc/dax/dax_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sparc/dax/dax_main.c b/arch/sparc/dax/dax_main.c index 8a4ffcb4bb361..87c345dffdf87 100644 --- a/arch/sparc/dax/dax_main.c +++ b/arch/sparc/dax/dax_main.c @@ -292,7 +292,7 @@ static long dax_ioctl(struct file *f, unsigned int cmd, unsigned long arg) case DAXIOC_DEP_1: case DAXIOC_DEP_3: case DAXIOC_DEP_4: - dax_err("Old version of libdax in use. Please update"); + dax_err("Old driver API not supported"); return -ENOTTY; default: return dax_perfcount_ioctl(f, cmd, arg); -- 2.50.1