aboutsummaryrefslogtreecommitdiff
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2013-04-04 19:42:30 +0900
committerIngo Molnar <[email protected]>2013-04-08 17:28:34 +0200
commit8101376dc5f42bd93b36d4ab210b44503d0ec11f (patch)
tree7adb1e6a9ab280da5ce3e4fdc4f1e6fc42a2b4db /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent324670b620ab1ed00ba160e435686bd2ae4a59ce (diff)
kprobes/x86: Just return error for sanity check failure instead of using BUG_ON
Return an error from __copy_instruction() and use printk() to give us a more productive message, since this is just an error case which we can handle and also the BUG_ON() never tells us why and what happened. This is related to the following bug-report: https://bugzilla.redhat.com/show_bug.cgi?id=910649 Signed-off-by: Masami Hiramatsu <[email protected]> Cc: Frank Ch. Eigler <[email protected]> Cc: Steven Rostedt <[email protected]> Cc: [email protected] Link: http://lkml.kernel.org/r/20130404104230.22862.85242.stgit@mhiramat-M0-7522 Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions