Received: by 10.192.165.148 with SMTP id m20csp1526598imm; Thu, 10 May 2018 12:06:19 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqnLAZkFg1vWF5v7vMpo6MjHHpbk0yBL9O+eWA0i5nSdPzeQj0Q0fyVrggQYiqf/9aY1JfB X-Received: by 2002:a62:3d54:: with SMTP id k81-v6mr2457944pfa.193.1525979179764; Thu, 10 May 2018 12:06:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525979179; cv=none; d=google.com; s=arc-20160816; b=BPO0che9MtP9bhKSkBMwwndZ3cUiHNz7drKJ+rAvCBysO6Da5b/AeWGLdhXJmh+V9f vIrQ7sFKxb2jfhEKctVsxPvjssyiVkSKOKtz3sFdkNE+7QWgw8FPEis8eJhdwgYwl9h9 l2LiKz8TuWx5chkcX+ovVbAt6l3fDdiopdCkydMgc6J996Hhl79niPFih7nU719SLeNq s99de4TClAJX/e9UgSszxhs+JsTeIjpXQaSENU66Eiz+y8Bw0qQpQ7PuUsCT2IXR64zm FapR8QQ30MJgSif8QJi2Qz2jLU3MYIhXZKYzU4F6WtAJlTlSshlqS7gpPEdqpb1KSmv9 yYsg== 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 :references:in-reply-to:mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=3qzvBJd5xk8lzAJvx8UpBL6w5Dp7aN+x0yySrqvfrcc=; b=DIgyWIKOUUhqc5x7jq2ihmHQu9yt2pOIK6quc1y3wiK4JNVrIPwP8qcWbzd4FAq5H+ 75KyyPLYwahRODRKqmc4UQeUc4q2yJhTQ7gbpGBZohoA2IpDy9l1Y0G0y0YEBWK8lyws +j9E8yFWHH7e9qyuiJHhNPtaa/SrP/tRS0MFhQ+QW0YZpXimcIE0qqvvSpKzv5gwZbct zCVufSJVWCndnqVHHGfikIXgdvKa8reO9woZ9512dtQ39+o06QA8Pb1iMx63wCc6o7q0 aoOD9DyAMkNoBUDu0JyWHHNhITUbNhlj317Oq4rtHT7ROGd7hnQ5BQmgmEx+qoob8VWy AOGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@google.com header.s=20161025 header.b=swalOOAh; dkim=fail header.i=@chromium.org header.s=google header.b=UrDjzS2b; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g125-v6si1108861pgc.568.2018.05.10.12.06.04; Thu, 10 May 2018 12:06:19 -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=fail header.i=@google.com header.s=20161025 header.b=swalOOAh; dkim=fail header.i=@chromium.org header.s=google header.b=UrDjzS2b; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751955AbeEJTFw (ORCPT + 99 others); Thu, 10 May 2018 15:05:52 -0400 Received: from mail-vk0-f68.google.com ([209.85.213.68]:34342 "EHLO mail-vk0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751457AbeEJTFu (ORCPT ); Thu, 10 May 2018 15:05:50 -0400 Received: by mail-vk0-f68.google.com with SMTP id t63-v6so1858413vkb.1 for ; Thu, 10 May 2018 12:05:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3qzvBJd5xk8lzAJvx8UpBL6w5Dp7aN+x0yySrqvfrcc=; b=swalOOAh1OpTQo6NRP7vJQnq8PS1S1DipalDqVR34b1i+/3xPqbP1XOO+I69CfRiOZ E20ZxKSa5A6Xi8iFuJrl8tJLSZhIqeNZxXMxxRhQvzsPzh5kyQZY0gbqJ0yYxTp+PvDm jKSAuDkgArBLSakBkqLxTEuFSQhJMrotjfbW+q7CeD9DJof4bMfhRWc05aQ3/TUhrbvP w/zzwQsFQH4ZHyQXnbXvF13YM1dDSPurlfBIxFf18p8X1Oz0eKZ8K67/MdPKDKpU+eUh QD2T3mP1auqdxwPyN0kkV3BNm1F7v6hZm+a5d1cueSte25HghwmDjZtv9ER7nqZS87Vc 0JQw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=3qzvBJd5xk8lzAJvx8UpBL6w5Dp7aN+x0yySrqvfrcc=; b=UrDjzS2bfbe1RLkuyugpdse8ctnTnhe08QOIFSZn3H4fYaIqcbiA8wIgUQ1Co+fmjE fIBcSXCpcJDihhDxFsurkyL6VO870ZwCRPZXE5ljBHu5hGTH5V80eRbP7EPmaJSOpwSQ j5/StnClO73oTgf6g9wu6Mh5BJeTNPOhuZd+0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=3qzvBJd5xk8lzAJvx8UpBL6w5Dp7aN+x0yySrqvfrcc=; b=b1SYa5WGCsjAtIvZXNam1gBLvjdTULjqgDEj3Fi6u7P+KVrv24rBagwbJJnJrn+zOs psRZrVnn3re1cSQUnjpuPw9EKIJZMpeWXU8ILWEhmhtpIxOHY9CxAog5JWudjgdXmBoP nTkLnZiiHas5ehGuwNtzybvwVwntyLFAf+UGerOeCyU0NLh+eZ7eGrIbyg1MpUvy2VRk KQbm8XLF9seC613maxUOCaU5dZbHEVm+zGYPQH8uAAXGlLJyjCzuGKFGWvN4lGJ8m796 trd64vYq5gssBFNK52gIdXDugENWqPVrtV4MHe90u17+xtxcMO0nwVXQsJ/K2jy0kpgM XL/Q== X-Gm-Message-State: ALKqPwcdiOcLvQ1Wj9Q2sUuR9eqRp1/uLFzA5aGynPiU3ICFqgfhGK9H dHYhluI+Ez8rkmJlDTJtXk4RmTJBHhEzEd0opTxIPQ== X-Received: by 2002:a1f:3096:: with SMTP id w144-v6mr1838975vkw.121.1525979149769; Thu, 10 May 2018 12:05:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.11.209 with HTTP; Thu, 10 May 2018 12:05:48 -0700 (PDT) In-Reply-To: <28df5659605d7b2ace94deca3b831b462183303f.1525964381.git.joe@perches.com> References: <28df5659605d7b2ace94deca3b831b462183303f.1525964381.git.joe@perches.com> From: Kees Cook Date: Thu, 10 May 2018 12:05:48 -0700 X-Google-Sender-Auth: JTsnxZ0dTtt1Y38eAMoe5qHfkrA Message-ID: Subject: Re: [PATCH 01/18] kernel: Use pr_fmt To: Joe Perches Cc: Paul Moore , Eric Paris , Ananth N Mavinakayanahalli , Anil S Keshavamurthy , "David S. Miller" , Masami Hiramatsu , Jessica Yu , Andy Lutomirski , Will Drewry , Balbir Singh , Davidlohr Bueso , "Paul E. McKenney" , Josh Triplett , Tejun Heo , Lai Jiangshan , LKML , Linux Audit 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 Thu, May 10, 2018 at 8:45 AM, Joe Perches wrote: > Sometime in the future, it would be useful to convert pr_fmt from a > default simple define to use a default prefix with KBUILD_MODNAME. > > There are files in kernel/ that use pr_, some with an embedded > prefix, that also do not have a specific pr_fmt define. > > Add pr_fmt for those files. > > There are some differences in output as some messages are now prefixed > with their KBUILD_MODNAME. > > Miscellanea: > > o Align multiline statements to open parenthesis > o Wrap and realign arguments to 80 columns where sensible > o Coalesce formats > > Signed-off-by: Joe Perches Reviewed-by: Kees Cook -Kees -- Kees Cook Pixel Security