diff options
author | Dan Carpenter | 2012-02-29 22:19:54 +0100 |
---|---|---|
committer | David S. Miller | 2012-03-01 23:23:42 +0100 |
commit | 413708bbaf5c85c4c8a264145f7d6c3afcd97f99 (patch) | |
tree | 92542d8a2e280456024e0f04d5b7eb905f74ede7 /drivers/net/ethernet/silan | |
parent | pch_gbe: memory corruption calling pch_gbe_validate_option() (diff) | |
download | kernel-qcow2-linux-413708bbaf5c85c4c8a264145f7d6c3afcd97f99.tar.gz kernel-qcow2-linux-413708bbaf5c85c4c8a264145f7d6c3afcd97f99.tar.xz kernel-qcow2-linux-413708bbaf5c85c4c8a264145f7d6c3afcd97f99.zip |
enic: fix an endian bug in enic_probe()
"num_vfs" is a u32 but we only use the high 16 bits and the low 16bits
are left as zero. That isn't a problem for little endian systems but it
will break on big endian ones.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/silan')
0 files changed, 0 insertions, 0 deletions