Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5469665imm; Tue, 19 Jun 2018 10:51:27 -0700 (PDT) X-Google-Smtp-Source: ADUXVKK0XOYGFq0vrzx0m36jSebOEYSD2ZmiMgwPZoD6dhtAWRabS2bWBhFGyBV1Q0XUxZEDAj99 X-Received: by 2002:a17:902:9307:: with SMTP id bc7-v6mr19833427plb.292.1529430687591; Tue, 19 Jun 2018 10:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529430687; cv=none; d=google.com; s=arc-20160816; b=VgOmsvxk1Xf3FU0ij7GqiLue1ZDFXGoccQGhFuzmMgq5Z6o97hQ9WJLEmJ/qEqCcrs ycUS94AWAUEe3bdjkhSkaRKQmluVgr/pXN8hdMIuEKOKgQrZuf/AwK9huQEnW/VCBODW k+Q52yfRdkKSw0lxEjrsm4wdy5pmgZqEF4J2hXa9kbxR372a5DJND18Zbk8rZphjjVbN 5X3Uw52AMHrz0l1yOB6A2YW2x8TN21Y/TixGXIWcqarA6CmE2tBqRj/eCkuLfLAQBiC3 z1aiDDqwRIO4u2yDF9kBaFZ+yZjyxG2qJX9a7vF+JWXsKB6KI6O+v2KI+WV8rGx6f3xm htzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=h+hKevTHETXYk22A8wPEf9GLUIRyLp/nzE2fEylcbXI=; b=fqOpDhwvKhWLDa6st4TXMcsR2NNQSjG0oMpKZatsmbiLAZmjQip4bEAyw2wJEcpg8o v81nuXbf8PuNKLQOzJdK1EeMNh/SFWceEzymnxNv8wdhUCTTDoK4vM1gTSinc8JS9VrQ kfLFPAPpjQJP8pxa9bIMw4BfQnMBY6QJBlduUku4SHFRMyGnimHEN2dUWilTvy65DF8c ljC/e4fHdq8/hWdc5jonlsdTjjH4h3cOSwMV/wF/aUhhQQgotEG/UydywR94WZCk2U26 BzkCd1qS1lwHFop6ZyGXRo9KqfS+QElL/Nk7NubgF/JwaqkfAi8Y9zdAWotpO9lyJBeQ Q6LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=ofAL0wno; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 22-v6si226532pfh.308.2018.06.19.10.51.13; Tue, 19 Jun 2018 10:51:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=ofAL0wno; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030351AbeFSRsy (ORCPT + 99 others); Tue, 19 Jun 2018 13:48:54 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:37215 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030337AbeFSRsv (ORCPT ); Tue, 19 Jun 2018 13:48:51 -0400 Received: by mail-lf0-f68.google.com with SMTP id g21-v6so805169lfb.4 for ; Tue, 19 Jun 2018 10:48:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=h+hKevTHETXYk22A8wPEf9GLUIRyLp/nzE2fEylcbXI=; b=ofAL0wnoS0KW2A18TXOiEd0AMD5rXpwld81R3vOetnRZrlSMqqNNr5S5dnnW+WHI+i FlBi0C8Z//JhWkciGpT5F8i1L0ku6nLE/bCVD9u40HU99sagSg1BrmUNbWNywmYP6KAa o++7pKeJGgctV71dwVDScZpuKe8AQnFiZ211hmow/OUC91wG4+GwnO37tkLHa9kMs6/D dCsVk6JzCMiZdud9eczxgRgcjpeuW6Y14GPuPSxKgXuKh9bfv4YztrWvCXEnXvrU9inH PhoIhwF5E3HmftddRCoO2vXC6hX3rvp12SSy1jbmuvBZ6CtQmUbsCj66FxUNx4Q9ZKC2 5YTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=h+hKevTHETXYk22A8wPEf9GLUIRyLp/nzE2fEylcbXI=; b=H5PuidTzZDVd20YDBxQk4XF40u/IO1STadlj4JH9odGi+CKB2DFketxJ6Q/draEaTa 1mIgoty5my6aeNc/DwXAkNKRzUG6+6A1hk5PUxmDEqUlwyAT8QFfJqpcBHI7xw6hM+y9 EEVfO2Ago1YGEH68zdPKZNWCMYezbt6u3BEcU79eU+G/huyWB6LOG08cCEfjh511tQvg 61jCGsVaGlRMmHlNLUBOTCLUn+xKWysJD2MgSupJa5AC3yc++8tmrNUlMcFGewMkY3gz pVL7MoBTGK9qcPR38McdZ8yCHFqiB5xneNN7TS9D6x2T+HN14C6+5n0nupq4Sl92tUUf 5boA== X-Gm-Message-State: APt69E3FcE9NDbRY8QfUoLjTsaNAjDcKTbnAnMddRKstKYLV1JtwDCMZ xISb+sT5C7qVPcQphGuvfgyWlWSr3I+rO0kShZ+Y X-Received: by 2002:a19:d5c7:: with SMTP id m190-v6mr1297203lfg.12.1529430529773; Tue, 19 Jun 2018 10:48:49 -0700 (PDT) MIME-Version: 1.0 References: <20180612080912.7827-1-peter.enderborg@sony.com> <20180612080912.7827-13-peter.enderborg@sony.com> In-Reply-To: <20180612080912.7827-13-peter.enderborg@sony.com> From: Paul Moore Date: Tue, 19 Jun 2018 13:48:38 -0400 Message-ID: Subject: Re: [PATCH 12/13] selinux: Cleanup printk logging in avc To: peter.enderborg@sony.com Cc: Stephen Smalley , Eric Paris , James Morris , danielj@mellanox.com, dledford@redhat.com, selinux@tycho.nsa.gov, linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org, serge@hallyn.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 12, 2018 at 4:09 AM Peter Enderborg wrote: > > Replace printk with pr_* to avoid checkpatch warnings. > > Signed-off-by: Peter Enderborg > --- > security/selinux/avc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Merged, thanks. > diff --git a/security/selinux/avc.c b/security/selinux/avc.c > index f3aedf077509..635e5c1e3e48 100644 > --- a/security/selinux/avc.c > +++ b/security/selinux/avc.c > @@ -650,7 +650,7 @@ static int avc_latest_notif_update(struct selinux_avc *avc, > spin_lock_irqsave(¬if_lock, flag); > if (is_insert) { > if (seqno < avc->avc_cache.latest_notif) { > - printk(KERN_WARNING "SELinux: avc: seqno %d < latest_notif %d\n", > + pr_warn("SELinux: avc: seqno %d < latest_notif %d\n", > seqno, avc->avc_cache.latest_notif); > ret = -EAGAIN; > } > -- > 2.15.1 > -- paul moore www.paul-moore.com