Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 220359
b: refs/heads/master
c: 1b8a301
h: refs/heads/master
i:
  220357: f9f8a36
  220355: c8d5414
  220351: 2637c13
v: v3
  • Loading branch information
Marek Belisko authored and Greg Kroah-Hartman committed Oct 15, 2010
1 parent fc09e51 commit 492804d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 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: 7dc591159928a0281f946d2b44510ced08f2a13c
refs/heads/master: 1b8a30121717c04ecd18a8d5f385530e039d7ac2
4 changes: 2 additions & 2 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -2080,7 +2080,7 @@ static int ft1000_proc_drvmsg (struct ft1000_device *dev, u16 size) {
FT1000_INFO *info = (FT1000_INFO *) netdev_priv (dev->net);
u16 msgtype;
u16 tempword;
PMEDIAMSG pmediamsg;
struct media_msg *pmediamsg;
PDSPINITMSG pdspinitmsg;
PDRVMSG pdrvmsg;
u16 i;
Expand Down Expand Up @@ -2126,7 +2126,7 @@ static int ft1000_proc_drvmsg (struct ft1000_device *dev, u16 size) {
case MEDIA_STATE: {
DEBUG("ft1000_proc_drvmsg:Command message type = MEDIA_STATE");

pmediamsg = (PMEDIAMSG)&cmdbuffer[0];
pmediamsg = (struct media_msg *)&cmdbuffer[0];
if (info->ProgConStat != 0xFF) {
if (pmediamsg->state) {
DEBUG("Media is up\n");
Expand Down
5 changes: 2 additions & 3 deletions trunk/drivers/staging/ft1000/ft1000-usb/ft1000_usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@



typedef struct _MEDIAMSG {
struct media_msg {
PSEUDO_HDR pseudo;
u16 type;
u16 length;
Expand All @@ -61,7 +61,7 @@ typedef struct _MEDIAMSG {
u32 gateway;
u32 dns_1;
u32 dns_2;
} __attribute__ ((packed)) MEDIAMSG, *PMEDIAMSG;
} __attribute__ ((packed));

typedef struct _DSPINITMSG {
PSEUDO_HDR pseudo;
Expand Down Expand Up @@ -97,7 +97,6 @@ typedef struct _PROV_RECORD {
} PROV_RECORD, *PPROV_RECORD;

/*end of Jim*/

#define DEBUG(args...) printk(KERN_INFO args)

#define UCHAR u8
Expand Down

0 comments on commit 492804d

Please sign in to comment.