Re: [PATCH 1/2][NETLABEL]: Shrink the genl-ops registration code.

2008-02-17 Thread David Miller
From: Paul Moore <[EMAIL PROTECTED]> Date: Wed, 13 Feb 2008 08:33:08 -0500 > On Wednesday 13 February 2008 6:09:44 am Pavel Emelyanov wrote: > > Turning them to array and registration in a loop saves > > 80 lines of code and ~300 bytes from text section. > > > > Signed-off-by: Pavel Emelyanov <[EM

Re: [PATCH 1/2][NETLABEL]: Shrink the genl-ops registration code.

2008-02-13 Thread Paul Moore
On Wednesday 13 February 2008 6:09:44 am Pavel Emelyanov wrote: > Turning them to array and registration in a loop saves > 80 lines of code and ~300 bytes from text section. > > Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> Definitely an improvement, thank you. Acked-by: Paul Moore <[EMAIL P

[PATCH 1/2][NETLABEL]: Shrink the genl-ops registration code.

2008-02-13 Thread Pavel Emelyanov
Turning them to array and registration in a loop saves 80 lines of code and ~300 bytes from text section. Signed-off-by: Pavel Emelyanov <[EMAIL PROTECTED]> --- net/netlabel/netlabel_cipso_v4.c | 43 +++ net/netlabel/netlabel_mgmt.c | 79 ++--