Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330165
b: refs/heads/master
c: ed43f44
h: refs/heads/master
i:
  330163: a3dcfdc
v: v3
  • Loading branch information
Alexandre Bounine authored and Linus Torvalds committed Oct 5, 2012
1 parent a12dba0 commit 4c33443
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 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: 7c4a6106d6451fc03c491e61df37c044505d843a
refs/heads/master: ed43f44f868045baa27bc140db0d4898e9695d07
3 changes: 2 additions & 1 deletion trunk/drivers/rapidio/devices/tsi721.c
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,8 @@ static int __devinit tsi721_setup_mport(struct tsi721_device *priv)
rio_init_dbell_res(&mport->riores[RIO_DOORBELL_RESOURCE], 0, 0xffff);
rio_init_mbox_res(&mport->riores[RIO_INB_MBOX_RESOURCE], 0, 3);
rio_init_mbox_res(&mport->riores[RIO_OUTB_MBOX_RESOURCE], 0, 3);
strcpy(mport->name, "Tsi721 mport");
snprintf(mport->name, RIO_MAX_MPORT_NAME, "%s(%s)",
dev_driver_string(&pdev->dev), dev_name(&pdev->dev));

/* Hook up interrupt handler */

Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/rio.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define RIO_MAX_MPORTS 8
#define RIO_MAX_MPORT_RESOURCES 16
#define RIO_MAX_DEV_RESOURCES 16
#define RIO_MAX_MPORT_NAME 40

#define RIO_GLOBAL_TABLE 0xff /* Indicates access of a switch's
global routing table if it
Expand Down Expand Up @@ -255,7 +256,7 @@ struct rio_mport {
*/
enum rio_phy_type phy_type; /* RapidIO phy type */
u32 phys_efptr;
unsigned char name[40];
unsigned char name[RIO_MAX_MPORT_NAME];
void *priv; /* Master port private data */
#ifdef CONFIG_RAPIDIO_DMA_ENGINE
struct dma_device dma;
Expand Down

0 comments on commit 4c33443

Please sign in to comment.