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=-0.7 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 041FFC43331 for ; Thu, 5 Sep 2019 20:24:03 +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 185B420825 for ; Thu, 5 Sep 2019 20:24:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 185B420825 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu 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 1i5yI1-0002eC-Be; Thu, 05 Sep 2019 16:23:33 -0400 Received: from omr1.cc.ipv6.vt.edu ([2607:b400:92:8300:0:c6:2117:b0e] helo=omr1.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.1) (envelope-from ) id 1i5yHz-0002e6-0f for kernelnewbies@kernelnewbies.org; Thu, 05 Sep 2019 16:23:31 -0400 Received: from mr4.cc.vt.edu (smtp.ipv6.vt.edu [IPv6:2607:b400:92:9:0:9d:8fcb:4116]) by omr1.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x85KNT2g000872 for ; Thu, 5 Sep 2019 16:23:29 -0400 Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mr4.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x85KNOdT002038 for ; Thu, 5 Sep 2019 16:23:29 -0400 Received: by mail-qt1-f197.google.com with SMTP id o1so3866110qtp.3 for ; Thu, 05 Sep 2019 13:23:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:content-transfer-encoding:date:message-id; bh=DR/sAOb27HaEqG7KOTV4YmATFLZo/a2NfwvCLdGQ/ZQ=; b=q6QGSUZwxmenrNF+Sg7oxJU7U2HSiPev+1U1nlzWdfsSL9KXUBZ9t/rH2Y/6pkxAsL EKvP/j+A9A30alYRTSwVnJBi972MUNFNwv3/aPomIPwtMSH+CvKG/zohnYKTQ+IOpmhK jcrengJDexY2k7QFeszL1Nd+9C1uV570vzXWns0DBzWJ+nupwTclczVjgON4eZlnTeyc J7ErUkKiviXZYwyOeSJn23g6Wpw/wNX9q0yzoD0RS0psXPnx6xHtYzXhPogz/Bz2jNnm Mqvur4LSEG8Lv7/Hngtt/krrfChGkUzBU+8YinBI+gJTiWp/8+nFl2j7bIEIkS+CXoUa Q29A== X-Gm-Message-State: APjAAAWn5gPXjsB1u2QoWutiF0VpLuuj/4Wthmx4e/F9aU7XHwT768u3 rQBsw+MKHkdBnUmwsAWnLqcyULropxMHD1irm6QFbhze1Vip+G3EpTt57I64lbbHJbc5uBE+Zmi Tghu7SF8HJ59JrDceM75Of9paB8lEVJ1VGN4ZB3s= X-Received: by 2002:a37:4ac8:: with SMTP id x191mr5258543qka.400.1567715004398; Thu, 05 Sep 2019 13:23:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwJELymD8BLYbDDC+ZIIbloNntl9l5KmXo9e0QL+tr4rTAVGswa7ZGjoyLln7krfNoJoXnk9A== X-Received: by 2002:a37:4ac8:: with SMTP id x191mr5258525qka.400.1567715004173; Thu, 05 Sep 2019 13:23:24 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:4341::359]) by smtp.gmail.com with ESMTPSA id t17sm2443683qtt.57.2019.09.05.13.23.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2019 13:23:22 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: jim.cromie@gmail.com Subject: Re: is there a macro symbol for strlen($LINUX_SOURCE_PATH) In-Reply-To: References: <20190904221817.gismdbom2rkdyfx6@varun-laptop> Mime-Version: 1.0 Date: Thu, 05 Sep 2019 16:23:21 -0400 Message-ID: <742173.1567715001@turing-police> Cc: Greg KH , Varun Iyer , 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: multipart/mixed; boundary="===============8127216881188988577==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============8127216881188988577== Content-Type: multipart/signed; boundary="==_Exmh_1567715001_4251P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --==_Exmh_1567715001_4251P Content-Type: text/plain; charset=us-ascii On Thu, 05 Sep 2019 08:31:55 -0600, jim.cromie@gmail.com said: > So I feel compelled to offer a fix for dynamic_debug, attached. > hopefully it explains adequately, I have some doubts.. > > maybe this should go to LKML now, > but I guess Id prefer to make my obvious thinkos less publicly. > Im happy to bikeshed the commit-msg or code. You should find a way to test that this is TRTTD for all gcc releases still supported for building a kernel (which may mean finding a 4.8 or 4.9 to test on to see if it uses relative or full paths). Removing these functions for kernels built with pre-change gcc will cause some semantic changes. Probably the *right* thing to do is to figure out what release it was changed in, and do some hacking to include/config/compiler-gcc.h. In addition, any such patches should be at least non-hostile to the ongoing effort to get a kernel tree that builds with clang rather than gcc. --==_Exmh_1567715001_4251P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Comment: Exmh version 2.9.0 11/07/2018 iQIVAwUBXXFuuAdmEQWDXROgAQKfNw//XiFQO84g+IlrBl5lSMVMOeBnHswUFNAa 5bAtFrnaBUHLzOOdlQkGJ9N1+a5h5L8XdlxqRTsqJ+L0hXNdbsJJpfYExusknKiF SV/pW/8t10ZQbet9zXWfGHiAwQSe6i7EqWouZ1wowxexqOreBmZUI/5giLkrlxkj tsmmbK3OPFNZvLgwJSVbQFT5jXLDqpReJNrTYniJm3Qcql+LrkpHO3PwZydecUyU CATjKAXOQbcfVK5xKrXVoX/zFrJumLrEDDgH7DFVRb9EKo+WBYLZ28ix51yyDvsq Td+cSdbsdVfq3dwMBlKTA+Xbx5mNVl6XxM4ky32IE1sSxkC0c5tZcLS9en30kWKh 1nRnpxIGrxxajl+x6VGr+9cWzi6gJGSpqkwIzIqJyNK429+HM7VunIUiYwU5FLEP pbFiiGydMJSLfxmCzBXoRcd1r5NnHVIm8bAGSHhkZs1NGI1IDMe7zIhQhW5gvsHs IpM/0knX0zyNnXg3Sq7zY336RA7aGTmMuuSHsr2VwTZPocactUlEBdl5zwi7af7v h5FMnt4z/SEBVURYOJWprsouxCnAhnej8XY75jO5QixMWfg0rzDT57a+djwm2gf1 P3oxcVed+ovsSCT3fCYswf0OCbq/jfeMv2qBGt69Oypw6snjE4LUJ6i9jAUGGXzr HB2RvaErYKA= =GYnO -----END PGP SIGNATURE----- --==_Exmh_1567715001_4251P-- --===============8127216881188988577== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============8127216881188988577==--