You need to sign in or sign up before continuing.
提交 06b43f96 编写于 作者: A Al Viro 提交者: Martin K. Petersen
上级 10100ffd
...@@ -6577,14 +6577,11 @@ static void check_ioctl_unit_attention(struct ctlr_info *h, ...@@ -6577,14 +6577,11 @@ static void check_ioctl_unit_attention(struct ctlr_info *h,
* ioctl * ioctl
*/ */
static int hpsa_ioctl(struct scsi_device *dev, unsigned int cmd, static int hpsa_ioctl(struct scsi_device *dev, unsigned int cmd,
void __user *arg) void __user *argp)
{ {
struct ctlr_info *h; struct ctlr_info *h = sdev_to_hba(dev);
void __user *argp = (void __user *)arg;
int rc; int rc;
h = sdev_to_hba(dev);
switch (cmd) { switch (cmd) {
case CCISS_DEREGDISK: case CCISS_DEREGDISK:
case CCISS_REGNEWDISK: case CCISS_REGNEWDISK:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册