Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 97565
b: refs/heads/master
c: a064d5b
h: refs/heads/master
i:
  97563: 1ab74f0
v: v3
  • Loading branch information
Al Viro authored and Linus Torvalds committed Jun 4, 2008
1 parent 133bcd2 commit 2190e21
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 64e9159f5d2c4edf5fa6425031e556f8fddaf7e6
refs/heads/master: a064d5bdd0c9602e4cd930ad949392640b37dda7
12 changes: 6 additions & 6 deletions trunk/drivers/hwmon/ibmaem.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ static struct aem_iana_id system_x_id = {
struct aem_find_firmware_req {
struct aem_iana_id id;
u8 rsvd;
u16 index;
u16 module_type_id;
__be16 index;
__be16 module_type_id;
} __packed;

struct aem_find_firmware_resp {
Expand All @@ -202,7 +202,7 @@ struct aem_find_firmware_resp {
struct aem_find_instance_req {
struct aem_iana_id id;
u8 instance_number;
u16 module_type_id;
__be16 module_type_id;
} __packed;

struct aem_find_instance_resp {
Expand Down Expand Up @@ -444,17 +444,17 @@ static int aem_read_sensor(struct aem_data *data, u8 elt, u8 reg,
}
case 2: {
u16 *x = buf;
*x = be16_to_cpup((u16 *)rs_resp->bytes);
*x = be16_to_cpup((__be16 *)rs_resp->bytes);
break;
}
case 4: {
u32 *x = buf;
*x = be32_to_cpup((u32 *)rs_resp->bytes);
*x = be32_to_cpup((__be32 *)rs_resp->bytes);
break;
}
case 8: {
u64 *x = buf;
*x = be64_to_cpup((u64 *)rs_resp->bytes);
*x = be64_to_cpup((__be64 *)rs_resp->bytes);
break;
}
}
Expand Down

0 comments on commit 2190e21

Please sign in to comment.