Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5454627imm; Tue, 19 Jun 2018 10:35:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJ/ktZWzOlSU0fut244jqNHd7+VLCge9SOsrX3i2WC+6E/ElNVb/8Q+fonX1Rh5AK0zkTA+ X-Received: by 2002:a17:902:9a4b:: with SMTP id x11-v6mr19656978plv.176.1529429759322; Tue, 19 Jun 2018 10:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529429759; cv=none; d=google.com; s=arc-20160816; b=jCeW6pejOjFplTurLlGkGS8CQRkeUS1CpFaRhtRagy9VK1+7tMn7xMY4EC2yW2eTm1 nJXf57S6wAVAAB0xLLAjI6qAbJxn2h1/xh0rCKU2Pnu8IS2jRI92Sk31mp4w6eiT8yDa pWxC3PMaz6+QpiHzWdUnQ4rIZOcGYhBP5fgvpAhgPv5bWP/mQzosOjEFmvcTfbgkwQiQ 05yGVS5fiBVPpisZ3MIx+5HYzJD8OrO3r8tLXjCC57N1lJ/bb39cP6fO3YU9VfFtdNSd nPUEgmW87WHPPS4pIJSdqAFMquPm6KGcTq4XkVqCySr9I1K5E2GTOxga05IWq0JU27Pe HWMQ== 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=WNXaBMQn6qfeHdJKtptboIB2c1+H4hoNlxVm0MEo0KE=; b=AYVm/qdjVTx3rgw4pVhl4SNghVypG+dh9+xquwPt4CPuJuul/I+emqCAiOMoA3/bEK 2qLNpMxMlw8wEpPl3u1eZURxR6KwyIyj03mAJr+diXgcPEs6acu/1ucx2NhHkRdyuC47 cepgqOvoX3wy9sU6xBNQfI23Np+VkHY42aIRdldV/XH5+mFE+XWh6ralYtN4STHHg3vi 9dqL1soQYNd5pNBxO47BB1eyc7GXFUNUN5M/Mnko2L50Qge7SeTpH2OFoXoBuBIMFqbt nFxhQ1xm0TgDCOox6LIpsRn/zVIVba9zn4ALDKApVmsfZwmI3Oo67WNPJr00QJg9xB1a 1XzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b=0tu4ol+X; 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 h89-v6si125198pld.378.2018.06.19.10.35.45; Tue, 19 Jun 2018 10:35:59 -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=0tu4ol+X; 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 S1030295AbeFSRfH (ORCPT + 99 others); Tue, 19 Jun 2018 13:35:07 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:46965 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966368AbeFSRfG (ORCPT ); Tue, 19 Jun 2018 13:35:06 -0400 Received: by mail-lf0-f66.google.com with SMTP id u5-v6so698916lff.13 for ; Tue, 19 Jun 2018 10:35:05 -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=WNXaBMQn6qfeHdJKtptboIB2c1+H4hoNlxVm0MEo0KE=; b=0tu4ol+X9wgKwV3C69W5Gmov8h319Og/xMkzvouQUoASXKiL+h7R98etN+yjZD2W+Q QflkZ3MeGPcVNAssL+hzZUrqRBv6c4bgsm5/lwUpEntujzPvGzKkm0epKOh3cu9zmrSw 3ygUlr58TybL5Y1tgTgmzYMgQzpg2LWKu4jCtuvKeOKCxJa2ZjPDBnNEo7dYTa96GkI8 VgBeS/n+9mJDbfKR9Qos/wKUs/5R/qVoAziy7H6zZEVUoZAq1XSOSba3xhJ99MTV5Jjv nfT+GFG7Q+xBZL4M3dg++N3ID3gO48jAlLbmE+KlOhnqHs7xBgTkGIYCgDb8bQOM/uga 7L0w== 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=WNXaBMQn6qfeHdJKtptboIB2c1+H4hoNlxVm0MEo0KE=; b=XNGo0nNeqOxKAxwS8DYn95lxLOb9pHvuRFlvmWCDtPIUSJX3L559v+jdQEMqCUD2uK qbD/pG4ers9HPTmc8Gn516myxGaqj/2w0JCeYQj7LdkmcAVdOZUDJcS9jxcZ9p2eQPsr 3SqaGGbQCGSYshDpP/Wi0WbBunIbVr8P3rgLsQJgMXCmassCp/vz27aA0R/bBv21ughs zeEtnI5gyXGIY3xaL3OI23r5LfwvNFLaKGkBSKcDCnP5Q3jwBVl1sRHi3mBYkljY9B1E 5cuHm+NGwsMuEsLHs8ansUT8Dz0/9qsflTswA7qRiWqKCm+9NjEXYNKNZNyKD48S7ppg gKoQ== X-Gm-Message-State: APt69E3h3+FU95C0ZfK9I3Ajy6vVd/gDBLDK6pLwOwBA0+50X/XYLyTy amSEyQHrGl7TJDFnsL2We9p5JBJsfaJL9jtaO4ld X-Received: by 2002:a2e:741:: with SMTP id i1-v6mr11423892ljd.87.1529429704722; Tue, 19 Jun 2018 10:35:04 -0700 (PDT) MIME-Version: 1.0 References: <20180612080912.7827-1-peter.enderborg@sony.com> <20180612080912.7827-9-peter.enderborg@sony.com> In-Reply-To: <20180612080912.7827-9-peter.enderborg@sony.com> From: Paul Moore Date: Tue, 19 Jun 2018 13:34:53 -0400 Message-ID: Subject: Re: [PATCH 08/13] selinux: Cleanup printk logging in netlink 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/netlink.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Merged, thanks. > 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 > -- paul moore www.paul-moore.com