Signed-off-by: Matthias Beyer <[email protected]>
---
drivers/staging/bcm/CmHost.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c
index ac6ae01..989495d 100644
--- a/drivers/staging/bcm/CmHost.c
+++ b/drivers/staging/bcm/CmHost.c
@@ -2152,13 +2152,13 @@ static void restore_endianess_of_classifier_entry(
enum bcm_ipaddr_context ip_addr_context)
{
int i;
- union u_ip_address *stSrc = &classifier_entry->stSrcIpAddress;
+ union u_ip_address *src = &classifier_entry->stSrcIpAddress;
union u_ip_address *stDest = &classifier_entry->stDestIpAddress;
for (i = 0; i < MAX_IP_RANGE_LENGTH * 4; i++) {
if (ip_addr_context == eSrcIpAddress) {
- stSrc->ulIpv6Addr[i] = ntohl(stSrc->ulIpv6Addr[i]);
- stSrc->ulIpv6Mask[i] = ntohl(stSrc->ulIpv6Mask[i]);
+ src->ulIpv6Addr[i] = ntohl(src->ulIpv6Addr[i]);
+ src->ulIpv6Mask[i] = ntohl(src->ulIpv6Mask[i]);
} else if (ip_addr_context == eDestIpAddress) {
stDest->ulIpv6Addr[i] = ntohl(stDest->ulIpv6Addr[i]);
stDest->ulIpv6Mask[i] = ntohl(stDest->ulIpv6Mask[i]);
--
2.1.0
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel