lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 10 Oct 2011 09:00:28 +0200 From: Borislav Petkov <bp@...en8.de> To: Barry Song <21cnbao@...il.com> Cc: Barry Song <Barry.Song@....com>, pavel@....cz, rjw@...k.pl, linux-pm@...ts.linux-foundation.org, linux-mmc@...r.kernel.org, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, workgroup.linux@....com, Barry Song <baohua.song@....com> Subject: Re: [PATCH] PM: HIBERNATION: add resume_delay kernel param as well as resume_delay On Mon, Oct 10, 2011 at 02:34:45PM +0800, Barry Song wrote: > >> diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c > >> index b3da53c..f73a00e 100644 > >> --- a/kernel/power/hibernate.c > >> +++ b/kernel/power/hibernate.c > >> @@ -33,6 +33,7 @@ > >> static int nocompress = 0; > >> static int noresume = 0; > >> static int resume_wait = 0; > >> +static int resume_delay = 0; > > > > These static variables get zeroed needlessly and checkpatch actually > > warns about that. Maybe fix that up while you're there? > > yes. right. i initilized it to 0 to keep consistent coding style with > the context because there were other variants doing that. > i'd like to delete all initialization together as a seperate patch. Or > do you want to do that? Nah, you go ahead :-). Thanks. -- Regards/Gruss, Boris. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists