From: Sanath Kumar Date: Mon, 10 Apr 2017 20:42:38 +0000 (-0500) Subject: sparc64: Incorrect print by DAX driver when old driver API is used X-Git-Tag: v4.1.12-98.0.20170517_2143~33^2~10 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=984f4e9f2c4ec56fdf7ec2d71ce3cef82a0c2c4b;p=users%2Fjedix%2Flinux-maple.git 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 --- 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);