Commit 06b43f96 authored by Al Viro's avatar Al Viro Committed by Martin K. Petersen
Browse files
parent 10100ffd
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -6577,14 +6577,11 @@ static void check_ioctl_unit_attention(struct ctlr_info *h,
 * ioctl
 */
static int hpsa_ioctl(struct scsi_device *dev, unsigned int cmd,
		      void __user *arg)
		      void __user *argp)
{
	struct ctlr_info *h;
	void __user *argp = (void __user *)arg;
	struct ctlr_info *h = sdev_to_hba(dev);
	int rc;

	h = sdev_to_hba(dev);

	switch (cmd) {
	case CCISS_DEREGDISK:
	case CCISS_REGNEWDISK: