We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10100ff commit 06b43f9Copy full SHA for 06b43f9
drivers/scsi/hpsa.c
@@ -6577,14 +6577,11 @@ static void check_ioctl_unit_attention(struct ctlr_info *h,
6577
* ioctl
6578
*/
6579
static int hpsa_ioctl(struct scsi_device *dev, unsigned int cmd,
6580
- void __user *arg)
+ void __user *argp)
6581
{
6582
- struct ctlr_info *h;
6583
- void __user *argp = (void __user *)arg;
+ struct ctlr_info *h = sdev_to_hba(dev);
6584
int rc;
6585
6586
- h = sdev_to_hba(dev);
6587
-
6588
switch (cmd) {
6589
case CCISS_DEREGDISK:
6590
case CCISS_REGNEWDISK:
0 commit comments