From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A7B05C3A5A5 for ; Thu, 5 Sep 2019 05:48:07 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4B06321743 for ; Thu, 5 Sep 2019 05:48:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=kroah.com header.i=@kroah.com header.b="YCfuWrVZ"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="aengUmOE" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4B06321743 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kroah.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.92.1) (envelope-from ) id 1i5kcg-0001Eb-KW; Thu, 05 Sep 2019 01:47:58 -0400 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.1) (envelope-from ) id 1i5kca-0001EV-Bn for kernelnewbies@kernelnewbies.org; Thu, 05 Sep 2019 01:47:52 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 0A9014C7; Thu, 5 Sep 2019 01:47:47 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 05 Sep 2019 01:47:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kroah.com; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm1; bh=WPvo9KhUUox5yrFInlme0vkMyTU ptUD1tEWebFbs+eA=; b=YCfuWrVZ3o3AwsutZnv2FVqHsYYMXdoMQxJrb/w54V8 bJvAYj9DAJ/g6J1l2p2S5x5Bv2VCf9butQWc9S2VxkbbnkkNAUGqRHbFgjRGWJsd SkBuxEQJ+YUS/loX1OM4xTNUNZ2AZ/G0SWcZOyVJXjJ3dD0N4IjSi5dJFgZwhPOi JM8Vri9nNSqn0w3T9iHMwUxxbzwbyqBgpVWEizC1mlYIdPRlk93K0xw/oQcH9oar eHa0U1/Dvwk4Qn7O85Lz4dWEHEi6ScTKxy2siSJLRrOqK4L14oOrA0rud6tTT/RJ 82fHebfEu60NR0yHbdIwEH32B6XY0IqWRo1K21xfLsg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=WPvo9K hUUox5yrFInlme0vkMyTUptUD1tEWebFbs+eA=; b=aengUmOErPqEdSDsj1/RfO DzMUCoRfmqzbKtqo+5LNxfKJ7krjKsh9zE0p9sFQ2QEaE1tYSZiCBYwhbb3TQEaJ NYTAc1HIaynkOVTLU/jQij390BvbKNfPJqctyY090A2Z7KvXrLvJQHOGceH3TkxL jxinMFbYAp1Soy5a1lnqzCBdtvCbXwKG0bO6yZdjcLFN0dW76f+AzOjxyC9v9Akj 7Null0wG8gqQhFQLJxSbXn2TC9Pg8KtNOxoYSGP8NSQlFJLSM9u93XLnWAigaOsw LBGCVM66+G5dy6zaoF8zKzmC9MTsxILzVuXqfK9JarkfLiJKFBOOYmL0IQbSde9w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudejiedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkfhggtggujggfsehttd ertddtredvnecuhfhrohhmpefirhgvghcumffjuceoghhrvghgsehkrhhorghhrdgtohhm qeenucfkphepkeefrdekiedrkeelrddutdejnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hgrhgvgheskhhrohgrhhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) by mail.messagingengine.com (Postfix) with ESMTPA id CFB1E80062; Thu, 5 Sep 2019 01:47:46 -0400 (EDT) Date: Thu, 5 Sep 2019 07:47:45 +0200 From: Greg KH To: jim.cromie@gmail.com Subject: Re: is there a macro symbol for strlen($LINUX_SOURCE_PATH) Message-ID: <20190905054745.GA23274@kroah.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) Cc: kernelnewbies X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Wed, Sep 04, 2019 at 03:42:01PM -0600, jim.cromie@gmail.com wrote: > in the kernel, there are a lot of usages of __FILE__ And almost all of them should go away, I think checkpatch.pl will mention something like that. I know I will gladly take patches that fix up printk messages that have __FILE__ in them to use the correct macros instead for portions of the kernel that I maintain. thanks, greg k-h _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies