Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5038875imm; Tue, 12 Jun 2018 01:16:09 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJtiN43tmRUt7Al1LAWw1i4v+GH+6GfpI8ky/DHR1i6aezdu+JrqpeznywfMP/JI9ciT0Fu X-Received: by 2002:a62:d2c3:: with SMTP id c186-v6mr2768803pfg.44.1528791369128; Tue, 12 Jun 2018 01:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528791369; cv=none; d=google.com; s=arc-20160816; b=eVxcmS3x+XJ+6yl8YJUvsFis/GlQmyoXkwj+sY+3XrkM9EkrINVtKQiz5ebcXHPihY 8cVs7ogYg3ictT/OGuK692QvU+s4oVf0N1ayB2vkI9X6utcUkCvmxZJT/S0L18Jv3oBD tMt4mSvnoPAUVElcH9CRsRb+r/8j37LxDTR1q1AE/8a8DX9Du5IK6et236T88nm6z62v mZPXDgenpM8O6Qk4Ymgg3nTeCaxvmP//zykoP63mWd+jGhAKbjwd06A07IuLp/XM+fyr lnn28OrCEtw/rxFsMyjh3kNw0F4l+Zcc8ZcVnRtMu8s5I61/t/xUjB/FBCZRUpLglanQ Tp4w== 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=lHWZ9LXHsIgl+dvhLpUMCvb+iZLdwEllx6pG/GHInQw=; b=kAiZwFeieL9VtZ5+YIzcq+2l3zlaGQrjNAk0FdWb9fQxLbGRjP52RHQprYwuAkypft +gCfAuz8u+zK8MuyEr4+DpcvWSGdFIDgg0rZKHHAtIiMJyjpjO1Fv23XUecEXDA57EVI y6QnM/3d9cOCsNLKUbmR74Ih1E6P8JHCJvInnE7haOjHZt70RDTazcrr3o2KBPY/r2YS BVbY5SSd0sfJm3BEEtvOJstEA1acDz+AAItJkr9kvo2nLuzLwUnaiZ+WakZHOGLZ412M 1Zdv8IJlneGOWqXpzyLwijHJOyA+84Mvsu6X0pFvXMTaD6Ornor44rmId4fo0rqSW2by QoBw== 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 127-v6si311806pfe.49.2018.06.12.01.15.54; Tue, 12 Jun 2018 01:16:09 -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 S933883AbeFLILm (ORCPT + 99 others); Tue, 12 Jun 2018 04:11:42 -0400 Received: from seldsegrel01.sonyericsson.com ([37.139.156.29]:6060 "EHLO SELDSEGREL01.sonyericsson.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933766AbeFLIJ5 (ORCPT ); Tue, 12 Jun 2018 04:09:57 -0400 From: Peter Enderborg To: , Paul Moore , Stephen Smalley , Eric Paris , James Morris , Daniel Jurgens , Doug Ledford , , , , "Serge E . Hallyn" Subject: [PATCH 08/13] selinux: Cleanup printk logging in netlink Date: Tue, 12 Jun 2018 10:09:07 +0200 Message-ID: <20180612080912.7827-9-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/netlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c index 828fb6a4e941..8a8a72507437 100644 --- a/security/selinux/netlink.c +++ b/security/selinux/netlink.c @@ -94,7 +94,7 @@ static void selnl_notify(int msgtype, void *data) out_kfree_skb: kfree_skb(skb); oom: - printk(KERN_ERR "SELinux: OOM in %s\n", __func__); + pr_err("SELinux: OOM in %s\n", __func__); goto out; } -- 2.15.1