On Sat, 22 Apr 2006 11:28:02 +0200 Francois Romieu <[EMAIL PROTECTED]> wrote:
> Ananda Raju <[EMAIL PROTECTED]> : > [...] > > Signed-off-by: Ananda Raju <[EMAIL PROTECTED]> > > --- > > diff -upNr perf_fixes/drivers/net/s2io.c > > dmesg_param_fixes/drivers/net/s2io.c > > --- perf_fixes/drivers/net/s2io.c 2006-04-13 08:02:56.000000000 -0700 > > +++ dmesg_param_fixes/drivers/net/s2io.c 2006-04-13 09:08:22.000000000 > > -0700 > [...] > > @@ -4626,6 +4633,45 @@ static int write_eeprom(nic_t * sp, int > > return ret; > > } > > > > +static void s2io_vpd_read(nic_t *nic) > > +{ > > + u8 vpd_data[256],data; > > You may consider removing vpd_data from the stack and kmallocing it. > Since there lsvpd tool doesn't in user space, why add more kernel code to do it? Adding more code to just print prettier console log's is bogus. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html