Skip to content

Commit

Permalink
scsi: cxlflash: s/semahpore/semaphore/
Browse files Browse the repository at this point in the history
Fix misspellings of "semaphore".

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/d7d04004b818d7ab5d62002f286b0a1b0b493193.1681208251.git.geert+renesas@glider.be
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
  • Loading branch information
Geert Uytterhoeven authored and Martin K. Petersen committed Apr 12, 2023
1 parent 8bfb89f commit cabb637
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/scsi/cxlflash/superpipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ static int read_cap16(struct scsi_device *sdev, struct llun_info *lli)
dev_dbg(dev, "%s: %ssending cmd(%02x)\n", __func__,
retry_cnt ? "re" : "", scsi_cmd[0]);

/* Drop the ioctl read semahpore across lengthy call */
/* Drop the ioctl read semaphore across lengthy call */
up_read(&cfg->ioctl_rwsem);
result = scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_IN, cmd_buf,
CMD_BUFSIZE, to, CMD_RETRIES, &exec_args);
Expand Down
2 changes: 1 addition & 1 deletion drivers/scsi/cxlflash/vlun.c
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ static int write_same16(struct scsi_device *sdev,
put_unaligned_be32(ws_limit < left ? ws_limit : left,
&scsi_cmd[10]);

/* Drop the ioctl read semahpore across lengthy call */
/* Drop the ioctl read semaphore across lengthy call */
up_read(&cfg->ioctl_rwsem);
result = scsi_execute_cmd(sdev, scsi_cmd, REQ_OP_DRV_OUT,
cmd_buf, CMD_BUFSIZE, to,
Expand Down

0 comments on commit cabb637

Please sign in to comment.