Re: Linux Kernel Markers format string idea

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi -

On Thu, Dec 21, 2006 at 11:20:35AM -0500, Mathieu Desnoyers wrote:

> [...]  I just had an idea about a format string extension that would
> help fix the missing type checking with format strings for Linux
> Kernel Markers. [...]  The idea is to add the type between brackets
> after the conversion specifier.  For a pointer to a structure :
> "%p[struct mystruct *]" [...]

It's probably an improvement, though as it is still at the
programmers' discretion, it is less useful for checking and more as
documenting.  I remain ambivalent about whether exposing this level of
detail (complex typing) is a good idea, or whether imposing a small
fixed set of types (string/number/blob) is better.

- FChE
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux