On Tue, Aug 26, 2014 at 04:25:01PM -0700, Andrew Morton wrote:
> We could actually do
>
> if (ACCT_VERSION == 3)
> ...
>
> in lots of places in acct.c. The code would be less ugly and
> compilation coverage testing would improve.
... too much. Finally got around to trying
On Thu, 21 Aug 2014 09:58:46 +0800 Ying Xue wrote:
> If ACCT_VERSION is not defined to 3, below warning appears:
> CC kernel/acct.o
> kernel/acct.c: In function ___do_acct_process___:
> kernel/acct.c:475:24: warning: unused variable ___ns___ [-Wunused-variable]
>
> Signed-off-by: Ying
If ACCT_VERSION is not defined to 3, below warning appears:
CC kernel/acct.o
kernel/acct.c: In function ‘do_acct_process’:
kernel/acct.c:475:24: warning: unused variable ‘ns’ [-Wunused-variable]
Signed-off-by: Ying Xue
---
kernel/acct.c |6 +++---
1 file changed, 3 insertions(+),
3 matches
Mail list logo