From: David Miller <davem@xxxxxxxxxxxxx> Date: Fri, 14 Mar 2014 15:07:20 -0400 (EDT) > From: Vince Bridgers <vbridgers2013@xxxxxxxxx> > Date: Fri, 14 Mar 2014 09:04:38 -0500 > >> This is the version 5 submission for the Altera Triple Speed Ethernet (TSE) >> driver. All comments received during the version 2, 3, and 4 submissions have >> been accepted. Please find the change log and a description of the submission >> below. > > Series applied to net-next, thanks. Actually, I had to revert, your driver adds new warnings to the build: drivers/net/ethernet/altera/altera_tse_main.c: In function ʽaltera_tse_probeʼ: drivers/net/ethernet/altera/altera_tse_main.c:1238:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] priv->tx_dma_desc = (void *)descmap; ^ drivers/net/ethernet/altera/altera_tse_main.c:1242:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] priv->rx_dma_desc = (void *)(descmap+priv->txdescmem); ^ A pointer can be larger than an "unsigned int", you therefore cannot cast it to a pointer. In fact this code path has a lot of problems, we pass a pointer to an unsigned int as a "void __iomem *" to request_and_map(). It's not, don't pretend that it is, and don't use casts to try and make the compiler also not see the problem. ?τθΊ{.nΗ+?·????+%?Λ?±ιέΆ??w?Ί{.nΗ+?·?zψ?zΪή{ψ§Ά?ʽά¨}©?²Ζ zΪ&j:+v?¨ώψ―ω?w?ώ?ΰ2?ή?¨θΪ&ʼ)ίʽ«aΆΪ??ϋΰzΏδzΉή?ϊ+?ω???έʼj??wθώf