Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 101008
b: refs/heads/master
c: 969a60f
h: refs/heads/master
v: v3
  • Loading branch information
Roland Dreier committed Jul 15, 2008
1 parent e137bc4 commit 34cc766
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 24 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: 4d3702b62e004172f44870763cf56793d8de0cbf
refs/heads/master: 969a60f9db3f879f95bd37026a3c3bf02cc2568f
13 changes: 5 additions & 8 deletions trunk/drivers/infiniband/ulp/srp/ib_srp.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
#include <scsi/srp.h>
#include <scsi/scsi_transport_srp.h>

#include <rdma/ib_cache.h>

#include "ib_srp.h"

#define DRV_NAME "ib_srp"
Expand Down Expand Up @@ -183,10 +181,10 @@ static int srp_init_qp(struct srp_target_port *target,
if (!attr)
return -ENOMEM;

ret = ib_find_cached_pkey(target->srp_host->srp_dev->dev,
target->srp_host->port,
be16_to_cpu(target->path.pkey),
&attr->pkey_index);
ret = ib_find_pkey(target->srp_host->srp_dev->dev,
target->srp_host->port,
be16_to_cpu(target->path.pkey),
&attr->pkey_index);
if (ret)
goto out;

Expand Down Expand Up @@ -1883,8 +1881,7 @@ static ssize_t srp_create_target(struct device *dev,
if (ret)
goto err;

ib_get_cached_gid(host->srp_dev->dev, host->port, 0,
&target->path.sgid);
ib_query_gid(host->srp_dev->dev, host->port, 0, &target->path.sgid);

shost_printk(KERN_DEBUG, target->scsi_host, PFX
"new target: id_ext %016llx ioc_guid %016llx pkey %04x "
Expand Down
2 changes: 2 additions & 0 deletions trunk/firmware/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ fw-shipped-$(CONFIG_SND_SB16_CSP) += sb16/mulaw_main.csp sb16/alaw_main.csp \
sb16/ima_adpcm_capture.csp
fw-shipped-$(CONFIG_SND_YMFPCI) += yamaha/ds1_ctrl.fw yamaha/ds1_dsp.fw \
yamaha/ds1e_ctrl.fw
fw-shipped-$(CONFIG_TIGON3) += tigon/tg3.bin tigon/tg3_tso.bin \
tigon/tg3_tso5.bin
fw-shipped-$(CONFIG_USB_DABUSB) += dabusb/firmware.fw dabusb/bitstream.bin
fw-shipped-$(CONFIG_USB_EMI26) += emi26/loader.fw emi26/firmware.fw \
emi26/bitstream.fw
Expand Down
30 changes: 15 additions & 15 deletions trunk/include/asm-x86/dwarf2.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,23 @@

/* Due to the structure of pre-exisiting code, don't use assembler line
comment character # to ignore the arguments. Instead, use a dummy macro. */
.macro __cfi_ignore a=0, b=0, c=0, d=0
.macro ignore a=0, b=0, c=0, d=0
.endm

#define CFI_STARTPROC __cfi_ignore
#define CFI_ENDPROC __cfi_ignore
#define CFI_DEF_CFA __cfi_ignore
#define CFI_DEF_CFA_REGISTER __cfi_ignore
#define CFI_DEF_CFA_OFFSET __cfi_ignore
#define CFI_ADJUST_CFA_OFFSET __cfi_ignore
#define CFI_OFFSET __cfi_ignore
#define CFI_REL_OFFSET __cfi_ignore
#define CFI_REGISTER __cfi_ignore
#define CFI_RESTORE __cfi_ignore
#define CFI_REMEMBER_STATE __cfi_ignore
#define CFI_RESTORE_STATE __cfi_ignore
#define CFI_UNDEFINED __cfi_ignore
#define CFI_SIGNAL_FRAME __cfi_ignore
#define CFI_STARTPROC ignore
#define CFI_ENDPROC ignore
#define CFI_DEF_CFA ignore
#define CFI_DEF_CFA_REGISTER ignore
#define CFI_DEF_CFA_OFFSET ignore
#define CFI_ADJUST_CFA_OFFSET ignore
#define CFI_OFFSET ignore
#define CFI_REL_OFFSET ignore
#define CFI_REGISTER ignore
#define CFI_RESTORE ignore
#define CFI_REMEMBER_STATE ignore
#define CFI_RESTORE_STATE ignore
#define CFI_UNDEFINED ignore
#define CFI_SIGNAL_FRAME ignore

#endif

Expand Down

0 comments on commit 34cc766

Please sign in to comment.