[U-Boot] [PATCH 7/8] USB: gadget: ethernet error path potential oops fix

Sergei Shtylyov sshtylyov at mvista.com
Thu Aug 12 19:11:08 CEST 2010


Hello.

Vitaly Kuzmichev wrote:

> From: David Brownell <david-b at pacbell.net>

> Fix potential (never-observed) oops on rare error path,
> bugzilla #9594.  Fix uses the same test as used earlier.

    I think references to bugzilla.kernel.org bugs look out of place in the 
U-Boot patch's changelog.

> Also make the adjacent "else" block look like an "else" block
> instead of hiding like a bug.

> Signed-off-by: David Brownell <dbrownell at users.sourceforge.net>
> Signed-off-by: Greg Kroah-Hartman <gregkh at suse.de>

> (cherry picked from commit e7b13ec9235b9fded90f826ceeb8c34548631351)

    Hm, I'm not sure you can cherry-pick across different projects. :-)
You'd better describe this patch as *based* on that commit.

> Conflicts:

> 	drivers/usb/gadget/ether.c
> 		Cause: "else" block was removed while porting.
> 		Removing this part of the patch.

> Signed-off-by: Vitaly Kuzmichev <vkuzmichev at mvista.com>

WBR, Sergei


More information about the U-Boot mailing list