Re: [PATCH 1/2] ne.c fix for hibernate and rmmod oops fix

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <david@...>
Cc: <linux-kernel@...>, <p_gortmaker@...>, <netdev@...>
Date: Saturday, August 30, 2008 - 11:03 am

On Fri, 29 Aug 2008 21:44:25 -0500, David Fries <david@fries.net> wrote:

The res->name might be NULL.  You should check it first.

	if (res->name && !strcmp(res->name, BAD_STR))
		dev->mem_end = BAD;

---
Atsushi Nemoto
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] ne.c fix for hibernate and rmmod oops fix, David Fries, (Fri Aug 29, 10:44 pm)
Re: [PATCH 1/2] ne.c fix for hibernate and rmmod oops fix, Atsushi Nemoto, (Sat Aug 30, 11:03 am)
Re: [PATCH 1/2] ne.c fix, res-&gt;name, David Fries, (Sat Aug 30, 2:05 pm)
Re: [PATCH 1/2] ne.c fix, res-&gt;name, Atsushi Nemoto, (Sun Aug 31, 1:15 pm)