summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Expand)AuthorFilesLines
2021-05-22lib: stackdepot: turn depot_lock spinlock to raw_spinlockZqiang1-3/+3
2021-05-22kobject_uevent: remove warning in init_uevent_argv()Greg Kroah-Hartman1-4/+5
2021-05-22net: fix nla_strcmp to handle more then one trailing null characterMaciej Żenczykowski1-1/+1
2021-05-22bug: Remove redundant condition check in report_bugAndrew Scull1-18/+15
2021-02-23lib/string: Add strscpy_pad() functionTobin C. Harding1-7/+40
2021-01-12lib/genalloc: fix the overflow when size is too bigHuang Shijie1-12/+13
2020-11-18random32: make prandom_u32() output unpredictableGeorge Spelvin1-179/+283
2020-11-18swiotlb: fix "x86: Don't panic if can not alloc buffer for swiotlb"Stefano Stabellini1-1/+5
2020-11-10lib/crc32test: remove extra local_irq_disable/enableVasily Gorbik1-4/+0
2020-11-10Fonts: Replace discarded const qualifierLee Jones11-11/+11
2020-11-05sgl_alloc_order: fix memory leakDouglas Gilbert1-1/+1
2020-10-29lib/crc32.c: fix trivial typo in preprocessor conditionTobias Jordan1-1/+1
2020-10-14Fonts: Support FONT_EXTRA_WORDS macros for built-in fontsPeilin Ye11-49/+47
2020-10-14random32: Restore __latent_entropy attribute on net_rand_stateThibaut Sautereau1-1/+1
2020-10-01lib/string.c: implement stpcpyNick Desaulniers1-0/+24
2020-08-21test_kmod: avoid potential double free in trigger_config_run_type()Tiezhu Yang1-1/+1
2020-08-21dyndbg: fix a BUG_ON in ddebug_describe_flagsJim Cromie1-12/+11
2020-08-07random32: remove net_rand_state from the latent entropy gcc pluginLinus Torvalds1-1/+1
2020-08-07random32: update the net random state on interrupt and activityWilly Tarreau1-1/+1
2020-06-25lib/zlib: remove outdated and incorrect pre-increment optimizationJann Horn1-56/+35
2020-06-20lib/mpi: Fix 64-bit MIPS build with ClangNathan Chancellor1-1/+1
2020-06-20lib: Reduce user_access_begin() boundaries in strncpy_from_user() and strnlen...Christophe Leroy2-14/+14
2020-06-20make 'user_access_begin()' do 'access_ok()'Linus Torvalds2-8/+10
2020-05-27ubsan: build ubsan.c more conservativelyArnd Bergmann1-1/+2
2020-05-27x86/uaccess, ubsan: Fix UBSAN vs. SMAPPeter Zijlstra1-0/+1
2020-05-10lib/mpi: Fix building for powerpc with clangNathan Chancellor1-17/+17
2020-04-24lib/raid6: use vdupq_n_u8 to avoid endianness warningsndesaulniers@google.com2-8/+4
2020-04-24uapi: rename ext2_swab() to swab() and share globally in swab.hYury Norov1-14/+2
2020-02-28lib/stackdepot.c: fix global out-of-bounds in stack_slabsAlexander Potapenko1-2/+6
2020-02-28lib/scatterlist.c: adjust indentation in __sg_alloc_tableNathan Chancellor1-1/+1
2020-02-15lib/test_kasan.c: fix memory leak in kmalloc_oob_krealloc_more()Gustavo A. R. Silva1-0/+1
2020-01-29bitmap: Add bitmap_alloc(), bitmap_zalloc() and bitmap_free()Andy Shevchenko1-0/+20
2020-01-27Partially revert "kfifo: fix kfifo_alloc() and kfifo_init()"Linus Torvalds1-1/+2
2020-01-27devres: allow const resource argumentsArnd Bergmann1-1/+2
2020-01-04dma-debug: add a schedule point in debug_dma_dump_mappings()Eric Dumazet1-0/+1
2019-12-17lib: raid6: fix awk build warningsGreg Kroah-Hartman1-1/+1
2019-12-05lib/genalloc.c: include vmalloc.hOlof Johansson1-0/+1
2019-12-05lib/genalloc.c: use vzalloc_node() to allocate the bitmapHuang Shijie1-2/+2
2019-12-05lib/genalloc.c: fix allocation of aligned buffer from non-aligned chunkAlexey Skidanov1-8/+12
2019-12-05idr: Fix idr_alloc_u32 on 32-bit systemsMatthew Wilcox (Oracle)1-1/+1
2019-11-24idr: Fix idr_get_next race with idr_removeMatthew Wilcox (Oracle)1-3/+17
2019-11-12lib/scatterlist: Introduce sgl_alloc() and sgl_free()Bart Van Assche2-0/+109
2019-11-12dump_stack: avoid the livelock of the dump_lockKevin Hao1-1/+6
2019-10-07kmemleak: increase DEBUG_KMEMLEAK_EARLY_LOG_SIZE default to 16KNicolas Boichat1-1/+1
2019-08-16test_firmware: fix a memory leak bugWenwen Wang1-1/+4
2019-07-31lib/strscpy: Shut up KASAN false-positives in strscpy()Andrey Ryabinin1-1/+1
2019-07-31lib/scatterlist: Fix mapping iterator when sg->offset is greater than PAGE_SIZEChristophe Leroy1-4/+5
2019-07-31rslib: Fix handling of of caller provided syndromeFerdinand Blomqvist1-2/+12
2019-07-31rslib: Fix decoding of shortened codesFerdinand Blomqvist1-2/+2
2019-07-10lib/mpi: Fix karactx leak in mpi_powmHerbert Xu1-4/+2