Thread (14 messages) flat view 14 messages, 4 authors, 2015-10-06

Re: [PATCH net-next v2 2/2] net: Microchip encx24j600 driver

From: David Miller <davem@davemloft.net>
Date: 2015-10-05 10:45:05
Also in: lkml

From: David Miller <davem@davemloft.net>
Date: Mon, 05 Oct 2015 03:54:55 -0700 (PDT)
From: jon@ringle.org
Date: Thu,  1 Oct 2015 07:43:21 -0400
quoted
From: Jon Ringle <redacted>

This ethernet driver supports the Micorchip enc424j600/626j600 Ethernet
controller over a SPI bus interface. This driver makes use of the regmap API to
optimize access to registers by caching registers where possible.

Datasheet:
http://ww1.microchip.com/downloads/en/DeviceDoc/39935b.pdf

Signed-off-by: Jon Ringle <redacted>
Applied.
Actually, I had to revert both patches.  Please look at the compiler
warnings your code generates:

drivers/mfd/wm5110-tables.c: In function ‘wm5110_patch’:
drivers/mfd/wm5110-tables.c:281:11: warning: passing argument 2 of ‘regmap_register_patch’ from incompatible pointer type [enabled by default]
In file included from include/linux/mfd/arizona/core.h:17:0,
                 from drivers/mfd/wm5110-tables.c:15:
include/linux/regmap.h:727:5: note: expected ‘const struct reg_sequence *’ but argument is of type ‘const struct reg_default *’
drivers/mfd/wm8998-tables.c: In function ‘wm8998_patch’:
drivers/mfd/wm8998-tables.c:50:10: warning: passing argument 2 of ‘regmap_register_patch’ from incompatible pointer type [enabled by default]
In file included from include/linux/mfd/arizona/core.h:17:0,
                 from drivers/mfd/wm8998-tables.c:15:
include/linux/regmap.h:727:5: note: expected ‘const struct reg_sequence *’ but argument is of type ‘const struct reg_default *’
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help