All of lore.kernel.org
 help / color / mirror / Atom feed
* How to choose format specifier for boolean variables in Linux kernel?
@ 2021-05-24 10:50 慕冬亮
  2021-05-24 14:22 ` Fox Chen
  2021-05-24 14:56 ` Aruna Hewapathirane
  0 siblings, 2 replies; 7+ messages in thread
From: 慕冬亮 @ 2021-05-24 10:50 UTC (permalink / raw)
  To: kernelnewbies

Hi all,

how do I choose format specifier for boolean variables in Linux
kernel? For example,

bool bup;
pr_alert("%XXX", bup);

What should "XXX" be in the Linux kernel?

--
My best regards to you.

     No System Is Safe!
     Dongliang Mu

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-24 14:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 10:50 How to choose format specifier for boolean variables in Linux kernel? 慕冬亮
2021-05-24 14:22 ` Fox Chen
2021-05-24 14:27   ` 慕冬亮
2021-05-24 14:29     ` 慕冬亮
2021-05-24 14:38     ` Fox Chen
2021-05-24 14:39       ` 慕冬亮
2021-05-24 14:56 ` Aruna Hewapathirane

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.