]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/scsi/scsi_ioctl.c
nfp: add IPv6 ttl and tos match offloading support
[mirror_ubuntu-bionic-kernel.git] / drivers / scsi / scsi_ioctl.c
index b6bf3f29a12a4e807f86e1a1025e9907f23ddd1e..0a875491f5a7621d59268217890c973ab6047083 100644 (file)
@@ -116,13 +116,15 @@ static int ioctl_internal_command(struct scsi_device *sdev, char *cmd,
                case NOT_READY: /* This happens if there is no disc in drive */
                        if (sdev->removable)
                                break;
+                       /* FALLTHROUGH */
                case UNIT_ATTENTION:
                        if (sdev->removable) {
                                sdev->changed = 1;
                                result = 0;     /* This is no longer considered an error */
                                break;
                        }
-               default:        /* Fall through for non-removable media */
+                       /* FALLTHROUGH -- for non-removable media */
+               default:
                        sdev_printk(KERN_INFO, sdev,
                                    "ioctl_internal_command return code = %x\n",
                                    result);