kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: jim.cromie@gmail.com
Cc: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: Re: '-D' 'KBUILD_MODSYM=main - like KBUILD_MODNAME, without the quotes ?
Date: Thu, 28 Jan 2021 21:04:37 -0500	[thread overview]
Message-ID: <177226.1611885877@turing-police> (raw)
In-Reply-To: <CAJfuBxwShnr0opU-F+g7MztkLYLhr8EQJN8ZJZ5u1LUuVwpPDw@mail.gmail.com>


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.1: Type: text/plain; charset=us-ascii, Size: 571 bytes --]

On Thu, 28 Jan 2021 17:16:01 -0700, jim.cromie@gmail.com said:
>                  from /home/jimc/projects/lx/wk-next/init/version.c:14:
> /home/jimc/projects/lx/wk-next/include/linux/dynamic_debug.h:172:9: note:
> ‘#pragma message: OK<version>[version] adding DYNDBG_TABLE’
>   172 | #pragma message "OK<" KBUILD_MODNAME ">["
> __stringify(KBUILD_MODSYM) "] adding DYNDBG_TABLE"
>       |         ^~~~~~~
>   CC      init/do_mounts.o
>
> IOW the _sym_ works better for ## token-joining

I meant "step back a bit and explain why you had a need for that #pragma"....


[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2021-01-29  2:05 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-28 19:11 '-D' 'KBUILD_MODSYM=main - like KBUILD_MODNAME, without the quotes ? jim.cromie
2021-01-28 23:57 ` Valdis Klētnieks
2021-01-29  0:16   ` jim.cromie
2021-01-29  2:04     ` Valdis Klētnieks [this message]
2021-01-29  8:32     ` jim.cromie
2021-01-29  9:07       ` jim.cromie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=177226.1611885877@turing-police \
    --to=valdis.kletnieks@vt.edu \
    --cc=jim.cromie@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).