aboutsummaryrefslogtreecommitdiffstats
path: root/lib/vsprintf.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-09Merge tag 'printk-for-5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-2/+2
2019-07-04lib/vsprintf: Reinstate printing of legacy clock IDsGeert Uytterhoeven1-1/+1
2019-06-12vsprintf: fix data type of variable in string_nocheck()Youngmin Nam1-1/+1
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-05-10vsprintf: Do not break early boot with probing addressesPetr Mladek1-7/+4
2019-04-29lib/vsprintf: Make function pointer_string staticYueHaibing1-2/+3
2019-04-26vsprintf: Limit the length of inlined error messagesPetr Mladek1-12/+27
2019-04-26vsprintf: Avoid confusion between invalid address and valuePetr Mladek1-1/+1
2019-04-26vsprintf: Prevent crash when dereferencing invalid pointersPetr Mladek1-35/+101
2019-04-26vsprintf: Consolidate handling of unknown pointer specifiersPetr Mladek1-11/+17
2019-04-26vsprintf: Factor out %pO handler as kobject_string()Petr Mladek1-5/+12
2019-04-26vsprintf: Factor out %pV handler as va_format()Petr Mladek1-9/+12
2019-04-26vsprintf: Factor out %p[iI] handler as ip_addr_string()Petr Mladek1-22/+30
2019-04-26vsprintf: Do not check address of well-known stringsPetr Mladek1-37/+44
2019-04-26vsprintf: Consistent %pK handling for kptr_restrict == 0Petr Mladek1-4/+2
2019-04-26vsprintf: Shuffle restricted_pointer()Petr Mladek1-49/+49
2019-03-09Merge tag 'printk-for-5.1' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+0
2019-03-07lib/vsprintf.c: move sizeof(struct printf_spec) next to its definitionRasmus Villemoes1-2/+3
2019-02-28lib/vsprintf: Remove %pCr remnant in commentGeert Uytterhoeven1-1/+0
2018-12-10lib/vsprintf: Print time and date in human readable format via %ptAndy Shevchenko1-0/+100
2018-10-26Merge tag 'devicetree-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-1/+6
2018-10-25Merge tag 'printk-for-4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-108/+108
2018-10-24Merge tag 'docs-4.20' of git://git.lwn.net/linuxLinus Torvalds1-11/+9
2018-10-12doc: printk-formats: Remove bogus kobject references for device nodesGeert Uytterhoeven1-11/+9
2018-10-12lib/vsprintf: Hash printed address for netdev bits fallbackGeert Uytterhoeven1-5/+4
2018-10-12lib/vsprintf: Hash legacy clock addressesGeert Uytterhoeven1-1/+1
2018-10-12lib/vsprintf: Prepare for more general use of ptr_to_id()Geert Uytterhoeven1-103/+103
2018-10-12lib/vsprintf: Make ptr argument conts in ptr_to_id()Geert Uytterhoeven1-1/+2
2018-10-05vsprintf: Fix off-by-one bug in bstr_printf() processing dereferenced pointersSteven Rostedt (VMware)1-1/+1
2018-09-07vsprintf: print OF node name using full_nameRob Herring1-1/+6
2018-08-15Merge tag 'random_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+26
2018-08-07lib/vsprintf: Do not handle %pO[^F] as %pxBart Van Assche1-0/+1
2018-07-17vsprintf: Add command line option debug_boot_weak_hashTobin C. Harding1-0/+17
2018-07-17vsprintf: Use hw RNG for ptr_keyTobin C. Harding1-1/+9
2018-06-06Merge tag 'printk-for-4.18' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-80/+53
2018-06-05Merge branch 'for-4.18-vsprintf-pcr-removal' into for-4.18Petr Mladek1-3/+0
2018-06-05lib/vsprintf: Remove atomic-unsafe support for %pCrGeert Uytterhoeven1-3/+0
2018-05-16vsprintf: Replace memory barrier with static_key for random_ptr_key updateSteven Rostedt (VMware)1-11/+15
2018-04-18vsprintf: Tweak pF/pf commentSergey Senozhatsky1-8/+4
2018-04-11proc: add seq_put_decimal_ull_width to speed up /proc/pid/smapsAndrei Vagin1-4/+14
2018-04-11lib/vsprintf: Mark expected switch fall-throughAndy Shevchenko1-0/+3
2018-04-11lib/vsprintf: Replace space with '_' before crng is readyShunyong Yang1-1/+2
2018-04-11lib/vsprintf: Deduplicate pointer_string()Andy Shevchenko1-20/+7
2018-04-11lib/vsprintf: Move pointer_string() upperAndy Shevchenko1-14/+14
2018-04-11lib/vsprintf: Make flag_spec globalAndy Shevchenko1-13/+8
2018-04-11lib/vsprintf: Make strspec globalAndy Shevchenko1-12/+9
2018-04-11lib/vsprintf: Make dec_spec globalAndy Shevchenko1-12/+9
2018-04-06vsprintf: Do not preprocess non-dereferenced pointers for bprintf (%px and %pK)Steven Rostedt (VMware)1-0/+4
2018-02-08vsprintf: avoid misleading "(null)" for %pxAdam Borowski1-1/+1
2018-02-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pml...Linus Torvalds1-3/+2
2018-02-01Merge tag 'trace-v4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/rost...Linus Torvalds1-13/+69
2018-01-23vsprintf: Do not have bprintf dereference pointersSteven Rostedt (VMware)1-13/+69
2018-01-09symbol lookup: introduce dereference_symbol_descriptor()Sergey Senozhatsky1-3/+2
2017-12-21vsprintf: Fix a dangling documentation referenceJonathan Corbet1-1/+1
2017-12-21doc: convert printk-formats.txt to rstTobin C. Harding1-1/+2
2017-11-29vsprintf: don't use 'restricted_pointer()' when not restrictingLinus Torvalds1-0/+2
2017-11-29vsprintf: add printk specifier %pxTobin C. Harding1-0/+18
2017-11-29printk: hash addresses printed with %pTobin C. Harding1-7/+74
2017-11-29vsprintf: refactor %pK code out of pointer()Tobin C. Harding1-43/+54
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-2/+2
2017-07-07Merge tag 'devicetree-for-4.13' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-0/+136
2017-06-27vsprintf: Add %p extension "%pOF" for device treePantelis Antoniou1-0/+136
2017-06-05uuid: rename uuid typesChristoph Hellwig1-2/+2
2017-05-08checkpatch: add ability to find bad uses of vsprintf %p<foo> extensionsJoe Perches1-0/+3
2017-04-02kernel-api.rst: fix output of the vsnprintf() documentationmchehab@s-opensource.com1-3/+3
2017-02-27lib/vsprintf.c: remove %Z supportAlexey Dobriyan1-4/+4
2016-05-20lib/uuid.c: introduce a few more generic helpersAndy Shevchenko1-5/+4
2016-05-20lib/vsprintf: simplify UUID printingAndy Shevchenko1-8/+4
2016-03-17sscanf: implement basic character setsJessica Yu1-1/+58
2016-03-15mm, printk: introduce new format string for flagsVlastimil Babka1-0/+75
2016-02-11vsprintf: kptr_restrict is okay in IRQ when 2Jason A. Donenfeld1-13/+13
2016-01-16lib/vsprintf: factor out %pN[F] handler as netdev_bits()Andy Shevchenko1-9/+16
2016-01-16lib/vsprintf: refactor duplicate code to special_hex_number()Andy Shevchenko1-26/+27
2016-01-16lib/vsprintf.c: warn about too large precisions and field widthsRasmus Villemoes1-4/+24
2016-01-16lib/vsprintf.c: help gcc make number() smallerRasmus Villemoes1-12/+14
2016-01-16lib/vsprintf.c: expand field_width to 24 bitsRasmus Villemoes1-20/+22
2016-01-16lib/vsprintf.c: eliminate potential race in string()Rasmus Villemoes1-19/+9
2016-01-16lib/vsprintf.c: move string() below widen_string()Rasmus Villemoes1-31/+31
2016-01-16lib/vsprintf.c: pull out padding code from dentry_name()Rasmus Villemoes1-15/+31
2016-01-06lib/vsprintf: add %*pg format specifierDmitry Monakhov1-0/+29
2015-11-06lib/vsprintf.c: update documentationRasmus Villemoes1-3/+4
2015-11-06lib/vsprintf.c: remove SPECIAL handling in pointer()Rasmus Villemoes1-1/+1
2015-11-06lib/vsprintf.c: also improve sanity check in bstr_printf()Rasmus Villemoes1-1/+1
2015-11-06lib/vsprintf.c: handle invalid format specifiers more robustlyRasmus Villemoes1-10/+21
2015-11-06printk: synchronize %p formatting documentationMartin Kletzander1-32/+8
2015-07-20lib/vsprintf.c: Include clk.hStephen Boyd1-0/+1
2015-04-17lib/vsprintf.c: improve put_dec_trunc8 slightlyRasmus Villemoes1-6/+4
2015-04-17lib/vsprintf.c: even faster binary to decimal conversionRasmus Villemoes1-118/+128
2015-04-15lib/string_helpers.c: change semantics of string_escape_memRasmus Villemoes1-2/+6
2015-04-15lib/vsprintf.c: fix potential NULL deref in hex_stringRasmus Villemoes1-4/+12
2015-04-15lib/vsprintf: add %pC{,n,r} format specifiers for clocksGeert Uytterhoeven1-0/+37
2015-04-15lib/vsprintf.c: another small hackRasmus Villemoes1-3/+4
2015-04-15lib/vsprintf.c: eliminate duplicate hex string arrayRasmus Villemoes1-5/+2
2015-04-15lib/vsprintf.c: reduce stack use in number()Rasmus Villemoes1-6/+1
2015-04-15lib/vsprintf.c: eliminate some branchesRasmus Villemoes1-19/+11
2015-02-13lib/vsprintf: implement bitmap printing through '%*pb[l]'Tejun Heo1-0/+94
2015-02-12lib/vsprintf.c: replace while with do-while in skip_atoiRasmus Villemoes1-1/+2
2015-02-12lib/vsprintf.c: improve sanity check in vsnprintf()Rasmus Villemoes1-1/+1
2015-02-12lib/vsprintf.c: consume 'p' in format_decodeRasmus Villemoes1-4/+3
2014-10-14lib/vsprintf: add %*pE[achnops] format specifierAndy Shevchenko1-0/+71
2014-09-09Documentation: Docbook: Fix generated DocBook/kernel-api.xmlMasanari Iida1-1/+1
2014-06-04lib/vsprintf.c: fix comparison to boolFabian Frederick1-2/+2
2014-04-03vsprintf: remove %n handlingRyan Mallon1-36/+9
2014-02-26vsprintf: Add support for IORESOURCE_UNSET in %pRBjorn Helgaas1-4/+9
2014-01-23vsprintf: add %pad extension for dma_addr_t useJoe Perches1-6/+27
2013-11-15vsprintf: ignore %n againKees Cook1-11/+9
2013-11-13lib/vsprintf.c: document formats for dentry and struct fileOlof Johansson1-0/+2
2013-11-13vsprintf: check real user/group id for %pKRyan Mallon1-3/+30
2013-09-04add formats for dentry/file pathnamesAl Viro1-0/+82
2013-07-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-2/+122
2013-07-01lib: vsprintf: add IPv4/v6 generic %p[Ii]S[pfs] format specifierDaniel Borkmann1-2/+122
2013-05-29sprintf: hex_string(): fix commentSteven Rostedt1-1/+1
2013-04-30vsprintf: Add extension %pSR - print_symbol replacementJoe Perches1-5/+13
2013-02-21lib/vsprintf.c: add %pa format specifier for phys_addr_t typesStepan Moskovchenko1-0/+7
2012-12-17simple_strto*: annotate function as obsoleteEldad Zack1-0/+8
2012-12-17sscanf: don't ignore field widths for numeric conversionsJan Beulich1-43/+53
2012-12-17lib/vsprintf.c: fix handling of %zd when using ssize_tJason Gunthorpe1-1/+4
2012-10-06lib/vsprintf.c: improve standard conformance of sscanf()Jan Beulich1-19/+14
2012-10-06lib/vsprintf: update documentation to cover all of %p[Mm][FR]Andy Shevchenko1-1/+4
2012-10-06lib: vsprintf: fix broken commentsGeorge Spelvin1-7/+7
2012-10-06lib: vsprintf: optimize put_dec_trunc8()George Spelvin1-16/+6
2012-10-06lib: vsprintf: optimize division by 10000George Spelvin1-27/+33
2012-10-06lib: vsprintf: optimize division by 10 for small integersGeorge Spelvin1-2/+3
2012-07-30vsprintf: add support of '%*ph[CDN]'Andy Shevchenko1-0/+55
2012-07-30lib/vsprintf.c: kptr_restrict: fix pK-error in SysRq show-all-timers(Q)Dan Rosenberg1-1/+2
2012-07-30lib/vsprintf.c: remind people to update Documentation/printk-formats.txt when...Andrew Morton1-0/+2
2012-07-30vsprintf: add %pMR for Bluetooth MAC addressAndrei Emeltchenko1-4/+19
2012-05-31vsprintf: further optimize decimal conversionDenys Vlasenko1-91/+190
2012-05-31vsprintf: correctly handle width when '#' flag used in %#p formatGrant Likely1-3/+5
2012-05-29lib/vsprintf.c: "%#o",0 becomes '0' instead of '00'Pierre Carrier1-4/+8
2012-05-29vsprintf: fix %ps on non symbols when using kallsymsStephen Boyd1-1/+1
2012-03-24Merge tag 'module-for-3.4' of git://git.kernel.org/pub/scm/linux/kernel/git/p...Linus Torvalds1-1/+1
2012-03-23procfs: add num_to_str() to speed up /proc/statKAMEZAWA Hiroyuki1-0/+20
2012-03-07lib: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
2012-03-06vsprintf: make %pV handling compatible with kasprintf()Jan Beulich1-3/+9
2011-11-16net: introduce and use netdev_features_t for device features setsMichał Mirosław1-0/+19
2011-10-31lib: rename pack_hex_byte() to hex_byte_pack()Andy Shevchenko1-7/+7
2011-10-31lib/kstrtox: common code between kstrto*() and simple_strto*() functionsAlexey Dobriyan1-26/+7
2011-07-25Merge 'akpm' patch seriesLinus Torvalds1-13/+10
2011-07-25lib: make _tolower() publicAndy Shevchenko1-13/+10
2011-07-14lib/vsprintf: replace link to Draft by final RFC numberJan Engelhardt1-2/+1
2011-06-09vsprintf: Update %pI6c to not compress a single 0Joe Perches1-1/+3
2011-05-25lib/vsprintf.c: fix interaction of kasprintf() and vsnprintf() when using %pVJan Beulich1-1/+1
2011-05-23Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-6/+3
2011-05-12vsprintf: Turn kptr_restrict off by defaultIngo Molnar1-1/+1
2011-04-26Merge branch 'master' into for-nextJiri Kosina1-152/+12
2011-04-06vsprintf: make comment about vs{n,cn,}printf more understandableUwe Kleine-König1-6/+3
2011-03-25Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+6
2011-03-24vsprintf: Introduce %pB format specifierNamhyung Kim1-1/+6
2011-03-22kstrto*: converting strings to integers done (hopefully) rightAlexey Dobriyan1-141/+0
2011-03-22printk: use %pK for /proc/kallsyms and /proc/modulesKees Cook1-1/+1
2011-03-22vsprintf: neaten %pK kptr_restrict, save a bit of code spaceJoe Perches1-9/+5
2011-01-13lib/vsprintf.c: fix vscnprintf() if @size is == 0Anton Arapov1-8/+8
2011-01-13kptr_restrict for hiding kernel pointers from unprivileged usersDan Rosenberg1-0/+22
2010-10-26lib: fix scnprintf() if @size is == 0Changli Gao1-2/+6
2010-10-26vsprintf.c: use default pointer field size for "(null)" stringsJoe Perches1-2/+9
2010-08-09lib: vsprintf: useless strlen() removedMichal Nazarewicz1-10/+4
2010-07-04vsprintf: Recursive vsnprintf: Add "%pV", struct va_formatJoe Perches1-0/+9
2010-05-25vsprintf.c: use noinline_for_stackJoe Perches1-25/+42
2010-05-25kernel-wide: replace USHORT_MAX, SHORT_MAX and SHORT_MIN with USHRT_MAX, SHRT...Alexey Dobriyan1-1/+1
2010-04-24lib/vsprintf.c: add missing EXPORT_SYMBOL(simple_strtoll)Hans Verkuil1-0/+1
2010-04-14vsprintf: Change struct printf_spec.precision from s8 to s16Joe Perches1-5/+5
2010-03-14resource: add window supportBjorn Helgaas1-1/+3
2010-03-14resource: add bus number supportBjorn Helgaas1-0/+9
2010-03-06vsprintf: move %pR resource printf_specs off the stackBjorn Helgaas1-21/+24
2010-03-06vsprintf: clarify comments for printf_spec flagsBjorn Helgaas1-2/+2
2010-03-06vsprintf.c: Reduce sizeof struct printf_spec from 24 to 8 bytesJoe Perches1-10/+12
2010-01-23Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/ne...David S. Miller1-2/+2
2010-01-13lib/vsprintf.c: Add IPV4 options %pI4[hnbl] for host, network, big and little...Joe Perches1-5/+31
2010-01-11vsnprintf: fix reference for compressed ipv6 addressesUwe Kleine-König1-2/+2
2010-01-11lib: Kill bit-reversed FDDI MAC output case, it's bogus.Joe Perches1-8/+2
2010-01-07lib/vsprintf.c: Add %pMF to format FDDI bit reversed MAC addressesJoe Perches1-2/+18
2009-12-17lib/vsprintf.c: document more vsnprintf extensionsUwe Kleine-König1-1/+12
2009-12-15lib/vsprintf.c: add %pU to print UUID/GUIDsJoe Perches1-1/+61
2009-12-15tree-wide: convert open calls to remove spaces to skip_spaces() lib functionAndré Goddard Rosa1-11/+4
2009-12-15vsprintf: reuse almost identical simple_strtoulX() functionsAndré Goddard Rosa1-34/+14
2009-12-15vsprintf: factor out skip_space code in a separate functionAndré Goddard Rosa1-8/+11
2009-12-15vsprintf: move local vars to block local vars and remove unneeded onesAndré Goddard Rosa1-36/+28
2009-12-15vsprintf: reduce code size by avoiding extra checkAndré Goddard Rosa1-1/+2
2009-12-15vsprintf: use TOLOWER whenever possibleAndré Goddard Rosa1-8/+7
2009-12-15vsprintf: give it some care to please checkpatch.plAndré Goddard Rosa1-86/+98
2009-12-15vsprintf: pre-calculate final string length for later useAndré Goddard Rosa1-4/+5
2009-12-15vsprintf: factorize "(null)" stringAndré Goddard Rosa1-3/+3
2009-11-04vsprintf: use %pR, %pr instead of %pRt, %pRfBjorn Helgaas1-25/+30
2009-11-04vsprintf: add %pRt, %pRf to print struct resource detailsBjorn Helgaas1-7/+44
2009-11-04vsprintf: add %pR support for IRQ and DMA resourcesBjorn Helgaas1-10/+21
2009-11-04vsprintf: fix io/mem resource widthBjorn Helgaas1-2/+2
2009-10-01sscanf(): fix %*s%nAndy Spencer1-1/+1
2009-09-24Merge branch 'master' of /home/davem/src/GIT/linux-2.6/David S. Miller1-20/+10
2009-09-22lib/vsprintf.c: Avoid possible unaligned accesses in %pI6cJoe Perches1-10/+15
2009-09-22vsprintf: use WARN_ON_ONCEMarcin Slusarz1-12/+2
2009-09-17vsnprintf: remove duplicate comment of vsnprintfSteven Rostedt1-6/+4
2009-09-17vsprintf: add %ps that is the same as %pS but is like %pfSteven Rostedt1-2/+4
2009-08-29lib/vsprintf.c: Add "%pI6c" - print pointer as compressed ipv6 addressJoe Perches1-47/+152
2009-04-29vsprintf: introduce %pf format specifierFrederic Weisbecker1-6/+13
2009-04-08printk: add support of hh length modifier for printkZhaolei1-5/+32
2009-04-08printk: fix wrong format string iter for printkZhaolei1-16/+0
2009-03-14vsprintf: unify the format decoding layer for its 3 users, cleanupVegard Nossum1-6/+6
2009-03-14fix regression from "vsprintf: unify the format decoding layer for its 3 users"Vegard Nossum1-1/+1
2009-03-10vsprintf: fix bug in negative value printingFrederic Weisbecker1-7/+6