From: Rob Herring Date: Fri, 30 Aug 2013 21:49:20 +0000 (-0500) Subject: net: calxedaxgmac: read correct field in xgmac_desc_get_buf_len X-Git-Tag: v3.12-rc1~132^2~1^2~14^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef07387faf33a95e011993200902d490b605407d;p=pandora-kernel.git net: calxedaxgmac: read correct field in xgmac_desc_get_buf_len xgmac_desc_get_buf_len appears to have a copy/paste error. flags is the wrong field to read. We should be reading buf_size field. cpu_to_le32 should also be le32_to_cpu. This never really mattered as this function is only used for DMA mapping calls which happen to be nops with coherent DMA. Signed-off-by: Rob Herring Signed-off-by: David S. Miller --- Reading git-diff-tree failed