lkml.org 
[lkml]   [2012]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] gianfar: Fix possible overrun and simplify interrupt name field creation
From
From: Joe Perches <joe@perches.com>
Date: Sat, 17 Mar 2012 12:05:38 -0700

> Space allocated for int_name_<foo> is unsufficient for
> maximal device name, expand it.
>
> Code to create int_name_<foo> is obscure, simplify it
> by using sprintf.
>
> Found by looking for unnecessary \ line continuations.
> Uncompiled, untested.
>
> Signed-off-by: Joe Perches <joe@perches.com>

Can a gianfar expert please review and test this patch?

Thanks.


\
 
 \ /
  Last update: 2012-03-22 03:37    [W:0.066 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site