From d276b6c54d47a427e4cffd7c84f3b631a1edf98e Mon Sep 17 00:00:00 2001 From: Frank Haverkamp Date: Sun, 22 Dec 2013 14:16:36 +0100 Subject: [PATCH] GenWQE: Rework return code for flash-update ioctl Instead of remaining bytes of a failing copy_to_user, the flash-update ioctl is returning now -EFAULT. In addtion Dan discovered user triggerable dev_errs(). Those I removed now from card_dev.c too. Some dev_infos() were deleted and some others turned into dev_dbgs(). Reported-by: Dan Carpenter Signed-off-by: Frank Haverkamp Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed