netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Small cleanups for smsc and device property
@ 2015-08-19 16:46 Jeremy Linton
  2015-08-19 16:46 ` [PATCH 1/2] device property: Add ETH_ALEN check, update comments Jeremy Linton
  2015-08-19 16:46 ` [PATCH 2/2] smsc911x: Remove dev==NULL check Jeremy Linton
  0 siblings, 2 replies; 5+ messages in thread
From: Jeremy Linton @ 2015-08-19 16:46 UTC (permalink / raw)
  To: netdev; +Cc: gregkh, steve.glendinning, linux, jeremy.linton

These patches are against net-next.

This patch set adds a length check to device_get_mac_addr() before
calling is_valid_ether_addr(), it also removes an unisssary dev==null
check.

The remainder is updates to the comments.

Jeremy Linton (2):
  device property: Add ETH_ALEN check, update comments.
  smsc911x: Remove dev==NULL check.

 drivers/base/property.c              | 21 +++++++++++++--------
 drivers/net/ethernet/smsc/smsc911x.c |  3 ---
 2 files changed, 13 insertions(+), 11 deletions(-)

-- 
2.4.3

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-20 21:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19 16:46 [PATCH 0/2] Small cleanups for smsc and device property Jeremy Linton
2015-08-19 16:46 ` [PATCH 1/2] device property: Add ETH_ALEN check, update comments Jeremy Linton
2015-08-20 21:37   ` David Miller
2015-08-19 16:46 ` [PATCH 2/2] smsc911x: Remove dev==NULL check Jeremy Linton
2015-08-20 21:38   ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).