From 892aa9eaad44034a6d227f7d6b933a3953feb59a Mon Sep 17 00:00:00 2001 From: Jonathan Helman Date: Thu, 20 Apr 2017 17:45:56 -0700 Subject: [PATCH] sparc64: change DAX CCB_EXEC ENOBUFS print to debug Orabug: 25927528 The CCB_EXEC ioctl in the DAX driver returns ENOBUFS when the user must free completion areas before the submission can succeed. There is a dax_err() print when this condition occurs. This print should be changed to a dax_dbg() print since this return value can be used by the caller to trigger freeing the completion areas, hence an error print is too verbose. Signed-off-by: Jonathan Helman Reviewed-by: Yuval Shaia Reviewed-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 d6dc550165a91..5dfb8bbd37c26 100644 --- a/arch/sparc/dax/dax_main.c +++ b/arch/sparc/dax/dax_main.c @@ -753,7 +753,7 @@ static int dax_ioctl_ccb_exec(void *arg, struct file *f) * enhancement. */ if (ccb_buf == NULL || nreserved != usr_args.dce_ccb_buf_len) { - dax_err("insufficient kernel CCB resources: user needs to free completion area space and retry"); + dax_dbg("insufficient kernel CCB resources: user needs to free completion area space and retry"); return -ENOBUFS; } -- 2.49.0