]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/target/target_core_tmr.c
signal/mips: Document a conflict with SI_USER with SIGFPE
[mirror_ubuntu-bionic-kernel.git] / drivers / target / target_core_tmr.c
index 13f47bf4d16b1d790ab470b92127254835e76078..e22847bd79b95b9bfb76a12a6747a0d5b913e44d 100644 (file)
@@ -355,20 +355,10 @@ static void core_tmr_drain_state_list(
                cmd = list_entry(drain_task_list.next, struct se_cmd, state_list);
                list_del_init(&cmd->state_list);
 
-               pr_debug("LUN_RESET: %s cmd: %p"
-                       " ITT/CmdSN: 0x%08llx/0x%08x, i_state: %d, t_state: %d"
-                       "cdb: 0x%02x\n",
-                       (preempt_and_abort_list) ? "Preempt" : "", cmd,
-                       cmd->tag, 0,
-                       cmd->se_tfo->get_cmd_state(cmd), cmd->t_state,
-                       cmd->t_task_cdb[0]);
-               pr_debug("LUN_RESET: ITT[0x%08llx] - pr_res_key: 0x%016Lx"
-                       " -- CMD_T_ACTIVE: %d"
-                       " CMD_T_STOP: %d CMD_T_SENT: %d\n",
-                       cmd->tag, cmd->pr_res_key,
-                       (cmd->transport_state & CMD_T_ACTIVE) != 0,
-                       (cmd->transport_state & CMD_T_STOP) != 0,
-                       (cmd->transport_state & CMD_T_SENT) != 0);
+               target_show_cmd("LUN_RESET: ", cmd);
+               pr_debug("LUN_RESET: ITT[0x%08llx] - %s pr_res_key: 0x%016Lx\n",
+                        cmd->tag, (preempt_and_abort_list) ? "preempt" : "",
+                        cmd->pr_res_key);
 
                /*
                 * If the command may be queued onto a workqueue cancel it now.