mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-22 21:21:28 +00:00
Fixed a compiler warning.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1778 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -2347,7 +2347,7 @@ void scst_pr_preempt_and_abort(struct scst_cmd *cmd, uint8_t *buffer,
|
||||
cmd->pr_abort_counter = kzalloc(sizeof(*cmd->pr_abort_counter),
|
||||
GFP_KERNEL);
|
||||
if (cmd->pr_abort_counter == NULL) {
|
||||
PRINT_ERROR("Unable to allocate PR abort counter (size %d)",
|
||||
PRINT_ERROR("Unable to allocate PR abort counter (size %zd)",
|
||||
sizeof(*cmd->pr_abort_counter));
|
||||
scst_set_busy(cmd);
|
||||
goto out;
|
||||
|
||||
Reference in New Issue
Block a user