From: Ajit Khaparde Date: Fri, 11 Feb 2011 13:33:02 +0000 (+0000) Subject: be2net: endianness fix in be_cmd_set_qos(). X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6bff57a7a6b97f2bf98cb96e56db1ec02a29d135;p=mv-sheeva.git be2net: endianness fix in be_cmd_set_qos(). Signed-off-by: Ajit Khaparde Signed-off-by: David S. Miller --- diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index a179cc6d79f..d3b671d9e02 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c @@ -1868,8 +1868,8 @@ int be_cmd_set_qos(struct be_adapter *adapter, u32 bps, u32 domain) OPCODE_COMMON_SET_QOS, sizeof(*req)); req->hdr.domain = domain; - req->valid_bits = BE_QOS_BITS_NIC; - req->max_bps_nic = bps; + req->valid_bits = cpu_to_le32(BE_QOS_BITS_NIC); + req->max_bps_nic = cpu_to_le32(bps); status = be_mcc_notify_wait(adapter);