Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5036973imm; Tue, 12 Jun 2018 01:14:06 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLRjfhJyTyRIrvQ6vAQ9QHiVVg/JYdC8M6vV3SBgMpmIIb0KgbekQ4Dn8c4cBq1U6TS7QjS X-Received: by 2002:a62:d653:: with SMTP id r80-v6mr2799140pfg.54.1528791246204; Tue, 12 Jun 2018 01:14:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528791246; cv=none; d=google.com; s=arc-20160816; b=b5pn2NPXUyqqWQaDKY2PpApfr+9DSb9mLqbYrka99jx/ys0l7Y0l7CVHecZq18W5rJ vuovJeEEI37q7fuk+nmmchgZdNMIHqKWHcULRtPTqLFlCXjixuOtCG/Id67uGK/CNwEn KNW6FWHQfE7Z3bb0VGIc1dl0x/+lWy2ucR+l37GBoTKIQmGnWwqicA65C5NH4jKFB3p6 ODcwcSYVOJc7Zn6wuNkN0XoIxcdMIej9+lCCRzHBfwiLkgk1qOARBbLav4D0ZrBQGONm GnYPATR/5ka5yWw0OqqPES0YND0zYhIHlFn8hWdE0FdMp2mZz3EyzPpYq2+2JPoUTWT9 8ELA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:to:from:arc-authentication-results; bh=+VRUku44vseetYoXvl0KN2FT7PVSxTDJoSEmKzsCgxQ=; b=DvHa9esY0zWWOlWkUaYClzPqOWI3eRLfo3x9P1de3GUC6uEHnwZ4mmy02m5YaEXHIY Uz+FbcA3xHwK1O28ZTdAbVuZmjVbpLiF0lZ1Ao+VWVgcEKkIkYYjonWFzhepWQBYAG/l YXdS+p4FXugaMPzb5so8fLBqlhaAIvq6RHItIw6HCuurCfdr/xyJUy/P0NanKa1IaBbp FqsdjMV8qiuYkQEprdWpr/1fEt9B8b3A9cRs6n2vxN17YDNFyoaMsyMx7KkBNaxFUbHC wfGw9UJHXCe381pbr1BzKuQ72G3mk5RJ3A7i5JWrPSVim0sAeXY/knkAeRyEiuAQmkeA QdFA== ARC-Authentication-Results: i=1; mx.google.com; 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 l138-v6si304675pfd.355.2018.06.12.01.13.21; Tue, 12 Jun 2018 01:14:06 -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; 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 S933864AbeFLIKG (ORCPT + 99 others); Tue, 12 Jun 2018 04:10:06 -0400 Received: from seldsegrel01.sonyericsson.com ([37.139.156.29]:6075 "EHLO SELDSEGREL01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933796AbeFLIKB (ORCPT ); Tue, 12 Jun 2018 04:10:01 -0400 From: Peter Enderborg To: , Paul Moore , Stephen Smalley , Eric Paris , James Morris , Daniel Jurgens , Doug Ledford , , , , "Serge E . Hallyn" Subject: [PATCH 12/13] selinux: Cleanup printk logging in avc Date: Tue, 12 Jun 2018 10:09:11 +0200 Message-ID: <20180612080912.7827-13-peter.enderborg@sony.com> X-Mailer: git-send-email 2.15.1 In-Reply-To: <20180612080912.7827-1-peter.enderborg@sony.com> References: <20180612080912.7827-1-peter.enderborg@sony.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) 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