Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144467
b: refs/heads/master
c: e5f9bb1
h: refs/heads/master
i:
  144465: 1b5bc68
  144463: 51d6644
v: v3
  • Loading branch information
Eric Moore authored and James Bottomley committed Apr 27, 2009
1 parent 75c1ad4 commit 6fb0e87
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77bdd9ee1e1d94fa853c354dcde881ddc5d277a5
refs/heads/master: e5f9bb198aa47d06553b66cc5f24ded49ed0b70d
6 changes: 3 additions & 3 deletions trunk/drivers/scsi/mpt2sas/mpt2sas_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -917,9 +917,9 @@ _ctl_getiocinfo(void __user *arg)
karg.pci_information.u.bits.function = PCI_FUNC(ioc->pdev->devfn);
karg.pci_information.segment_id = pci_domain_nr(ioc->pdev->bus);
karg.firmware_version = ioc->facts.FWVersion.Word;
strncpy(karg.driver_version, MPT2SAS_DRIVER_VERSION,
MPT2_IOCTL_VERSION_LENGTH);
karg.driver_version[MPT2_IOCTL_VERSION_LENGTH - 1] = '\0';
strcpy(karg.driver_version, MPT2SAS_DRIVER_NAME);
strcat(karg.driver_version, "-");
strcat(karg.driver_version, MPT2SAS_DRIVER_VERSION);
karg.bios_version = le32_to_cpu(ioc->bios_pg3.BiosVersion);

if (copy_to_user(arg, &karg, sizeof(karg))) {
Expand Down

0 comments on commit 6fb0e87

Please sign in to comment.