What version of checkpatch.pl are you using? I've checked all the patches with the latest version (0.32) and it didn't complain..
peter On 03/14/2013 12:28 PM, Ivana Varekova wrote: > several checkpatch problems > > ----- Original Message ----- >> From: "Peter Schiffer" <pschi...@redhat.com> >> To: libcg-devel@lists.sourceforge.net >> Sent: Friday, March 8, 2013 5:10:24 PM >> Subject: [Libcg-devel] [PATCH 13/14] Added CGROUP_LOGLEVEL to man pages >> >> Added CGROUP_LOGLEVEL to man pages + fixed the style of 'FILES' >> section >> where appropriate. >> >> Signed-off-by: Peter Schiffer <pschi...@redhat.com> >> --- >> doc/man/cgclassify.1 | 11 +++++++---- >> doc/man/cgclear.1 | 6 ++++++ >> doc/man/cgconfigparser.8 | 6 ++++++ >> doc/man/cgcreate.1 | 5 +++++ >> doc/man/cgdelete.1 | 6 ++++++ >> doc/man/cgexec.1 | 11 +++++++---- >> doc/man/cgget.1 | 6 ++++++ >> doc/man/cgrulesengd.8 | 7 +++++++ >> doc/man/cgset.1 | 6 ++++++ >> doc/man/cgsnapshot.1 | 6 ++++++ >> doc/man/lscgroup.1 | 8 +++++++- >> doc/man/lssubsys.1 | 7 ++++++- >> 12 files changed, 75 insertions(+), 10 deletions(-) >> >> diff --git a/doc/man/cgclassify.1 b/doc/man/cgclassify.1 >> index 982fc53..db4e086 100644 >> --- a/doc/man/cgclassify.1 >> +++ b/doc/man/cgclassify.1 >> @@ -47,12 +47,15 @@ If this option is used, the daemon of service >> cgred (cgrulesengd process) >> can automatically change both the specified \fBpidlist\fR and their >> child >> tasks to the right cgroup based on \fB/etc/cgrules.conf\fR. >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH FILES >> -.LP >> -.PD .1v >> -.TP 20 >> -.B /etc/cgrules.conf >> .TP >> +.B /etc/cgrules.conf >> default libcgroup configuration file >> >> >> diff --git a/doc/man/cgclear.1 b/doc/man/cgclear.1 >> index 0a3ed91..318c925 100644 >> --- a/doc/man/cgclear.1 >> +++ b/doc/man/cgclear.1 >> @@ -37,5 +37,11 @@ specifies that only empty groups should be >> removed. If a group defined in a >> config file has tasks inside or has a subgroup, it won't be removed. >> This >> option works only with \fB-l\fR or \fB-L\fR options. >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH SEE ALSO >> cgconfigparser(1) >> diff --git a/doc/man/cgconfigparser.8 b/doc/man/cgconfigparser.8 >> index 53ab626..0a20f95 100644 >> --- a/doc/man/cgconfigparser.8 >> +++ b/doc/man/cgconfigparser.8 >> @@ -68,5 +68,11 @@ of this group have write access to the file. >> >> .LP >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH SEE ALSO >> cgconfig.conf (5) >> diff --git a/doc/man/cgcreate.1 b/doc/man/cgcreate.1 >> index 3e8fe22..7068073 100644 >> --- a/doc/man/cgcreate.1 >> +++ b/doc/man/cgcreate.1 >> @@ -63,6 +63,11 @@ file of the defined control group. I.e. this user >> and members >> of this group have write access to the file. >> The default value is the same as has the parent cgroup. >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> >> .SH FILES >> >> diff --git a/doc/man/cgdelete.1 b/doc/man/cgdelete.1 >> index 5fde2ee..025a799 100644 >> --- a/doc/man/cgdelete.1 >> +++ b/doc/man/cgdelete.1 >> @@ -29,5 +29,11 @@ Display this help and exit. >> .B -r, --recursive >> Recursively remove all subgroups. >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH SEE ALSO >> cgcreate (1), lscgroup (1), cgclear (1) >> diff --git a/doc/man/cgexec.1 b/doc/man/cgexec.1 >> index 3834a02..cacbd3a 100644 >> --- a/doc/man/cgexec.1 >> +++ b/doc/man/cgexec.1 >> @@ -81,12 +81,15 @@ runs command \fBls -l\fR in control group test1 >> in controllers cpu and memory and control group >> test2 in controller swap. >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH FILES >> -.LP >> -.PD .1v >> -.TP 20 >> -.B /etc/cgrules.conf >> .TP >> +.B /etc/cgrules.conf >> default libcgroup configuration file >> >> .SH SEE ALSO >> diff --git a/doc/man/cgget.1 b/doc/man/cgget.1 >> index 5164b1a..744a329 100644 >> --- a/doc/man/cgget.1 >> +++ b/doc/man/cgget.1 >> @@ -85,6 +85,12 @@ cpu.shares=1024 >> >> .fi >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH SEE ALSO >> cgrules.conf (1), cgcreate (1), cgget (1) >> >> diff --git a/doc/man/cgrulesengd.8 b/doc/man/cgrulesengd.8 >> index 69be57f..9566c23 100644 >> --- a/doc/man/cgrulesengd.8 >> +++ b/doc/man/cgrulesengd.8 >> @@ -56,6 +56,13 @@ write them to the standard output. >> .B -g <group>|--socket-group=<group> >> Set the owner of cgrulesengd socket. Assumes that \fBcgexec\fR runs >> with proper >> suid permissions so it can write to the socket when \fBcgexec\fR >> --sticky is used. >> + >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH FILES >> .LP >> .PD .1v >> diff --git a/doc/man/cgset.1 b/doc/man/cgset.1 >> index 41abc30..be886c6 100644 >> --- a/doc/man/cgset.1 >> +++ b/doc/man/cgset.1 >> @@ -30,5 +30,11 @@ This parameter can be used multiple times. >> defines the name of the cgroup whose parameters will be >> copied to the input cgroup. >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH SEE ALSO >> cgrules.conf (1), cgcreate (1), cgget (1) >> diff --git a/doc/man/cgsnapshot.1 b/doc/man/cgsnapshot.1 >> index 228ba7a..03c85f6 100644 >> --- a/doc/man/cgsnapshot.1 >> +++ b/doc/man/cgsnapshot.1 >> @@ -77,6 +77,12 @@ not displayed. >> defines the controller whose hierarchies will be >> output >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH FILES >> .TP >> .B /etc/cgsnapshot_blacklist.conf >> diff --git a/doc/man/lscgroup.1 b/doc/man/lscgroup.1 >> index 005f6a7..693fbbc 100644 >> --- a/doc/man/lscgroup.1 >> +++ b/doc/man/lscgroup.1 >> @@ -20,6 +20,12 @@ defines the control groups whose subgroups will be >> shown. >> If this parameter is not used, the command will >> list all existing cgroups. >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> + >> .SH SEE ALSO >> lssubsys (1), cgcreate (1), cgdelete (1), >> -cgconfig.conf (5) >> \ No newline at end of file >> +cgconfig.conf (5) >> diff --git a/doc/man/lssubsys.1 b/doc/man/lssubsys.1 >> index 30ced29..790c627 100644 >> --- a/doc/man/lssubsys.1 >> +++ b/doc/man/lssubsys.1 >> @@ -85,8 +85,13 @@ freezer /cgroup/freezer >> net_cls /cgroup/net_cls >> .fi >> >> +.SH ENVIRONMENT VARIABLES >> +.TP >> +.B CGROUP_LOGLEVEL >> +controls verbosity of the tool. Allowed values are \fBDEBUG\fR, >> +\fBINFO\fR, \fBWARNING\fR or \fBERROR\fR. >> >> .RE >> .SH SEE ALSO >> lscgroup (1), cgcreate (1), cgdelete (1), >> -cgconfig.conf (5) >> \ No newline at end of file >> +cgconfig.conf (5) >> >> >> ------------------------------------------------------------------------------ >> Symantec Endpoint Protection 12 positioned as A LEADER in The >> Forrester >> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in >> the >> endpoint security space. For insight on selecting the right partner >> to >> tackle endpoint security challenges, access the full report. >> http://p.sf.net/sfu/symantec-dev2dev >> _______________________________________________ >> Libcg-devel mailing list >> Libcg-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/libcg-devel >> ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel