This message generated a parse failure. Raw output follows here. Please use 'back' to navigate. From devnull@lkml.org Fri Apr 26 11:27:05 2024 >From spaans Wed Nov 12 16:58:23 2014 Received: from pop.ziggo.nl [212.54.42.19] by squeeze.vs19.net with POP3 (fetchmail-6.3.21) for (single-drop); Wed, 12 Nov 2014 16:58:23 +0100 (CET) Received: from md5.tb.mail.iss.local ([212.54.34.100]) by mc5.tb.mail.iss.local (Dovecot) with LMTP id OX3fILCBY1RRQQAAh0Kp1A for ; Wed, 12 Nov 2014 16:55:26 +0100 Received: from mx1.gn.mail.iss.as9143.net ([212.54.34.100]) by md5.tb.mail.iss.local (Dovecot) with LMTP id gLlMQjfSF1QDBAAA7jSZHA ; Wed, 12 Nov 2014 16:56:25 +0100 Received: from vger.kernel.org ([209.132.180.67]) by mx1.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1XoaGT-0005Cx-BY for bmw12-lkml@ziggo.nl; Wed, 12 Nov 2014 16:55:25 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753296AbaKLPzJ (ORCPT ); Wed, 12 Nov 2014 10:55:09 -0500 Received: from mail-ig0-f170.google.com ([209.85.213.170]:41437 "EHLO mail-ig0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753264AbaKLPzG convert rfc822-to-8bit (ORCPT ); Wed, 12 Nov 2014 10:55: Received: by mail-ig0-f170.google.com with SMTP id a13so1633163igq.5 for ; Wed, 12 Nov 2014 07:55:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=L3r4+R6/SFHo2/UWDFUkjiNjx2/3fR2QSptg2sARg9o=; b=VwjJm0xcPyucr Mime-Version: 1.0 X-Received: by 10.107.41.199 with SMTP id p190mr50533419iop.10.1415807705539; Wed, 12 Nov 2014 07:55:05 -0800 (PST) Received: by 10.64.166.201 with HTTP; Wed, 12 Nov 2014 07:55:05 -0800 (PST) Date: Wed, 12 Nov 2014 15:55:05 +0000 Message-Id: Subject: PATCH kernel/acct.c to fix compiler warning From: Brian Haslett To: linux-kernel@vger.kernel.org Cc: trivial@kernel.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-Id: X-Mailing-List: linux-kernel@vger.kernel.org X-Ziggo-spamsetting: Instelling=Gemiddeld Scorelimiet=14 X-Ziggo-spambar: / X-Ziggo-spamscore: -0.4 X-Ziggo-spamreport: BAYES_00=-1.9,CM_SPACED_DATE=0.5,FREEMAIL_FROM=0.5,L_TAB_IN_FROM=2,RCVD_IN_JMF_W=-1,RP_MATCHES_RCVD=-0.535 X-Ziggo-Spam-Status: No X-Spam-Status: No X-Spam-Flag: No This is the warning: kernel/acct.c: In function 'do_acct_process': kernel/acct.c:475:24: warning: unused variable 'ns' [-Wunused-variable] struct pid_namespace *ns = acct->ns; and this is the patch:  Signed-off-by: Brian P. Haslett --- a/kernel/acct.c 2014-11-11 10:25:49.000000000 +0000 +++ b/kernel/acct.c 2014-11-11 10:25:40.000000000 +0000 @@ -472,7 +472,9 @@ static void do_acct_process(struct bsd_a acct_t ac; unsigned long flim; const struct cred *orig_cred; +#if ACCT_VERSION == 3 struct pid_namespace *ns = acct->ns; +#endif struct file *file = acct->file; /* -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/