* [linux-next:master 1828/2084] DockBook: mm/slab.c:1882: warning: Excess function parameter 'align' description in 'calculate_slab_order'
@ 2016-01-28 7:50 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2016-01-28 7:50 UTC (permalink / raw)
To: Joonsoo Kim; +Cc: kbuild-all, Andrew Morton, Linux Memory Management List
[-- Attachment #1: Type: text/plain, Size: 3268 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 888c8375131656144c1605071eab2eb6ac49abc3
commit: 3d51ae1a688bffa357a93c9046a99e7986f4099d [1828/2084] mm/slab: put the freelist at the end of slab page
reproduce: make htmldocs
All warnings (new ones prefixed by >>):
lib/crc32.c:148: warning: No description found for parameter 'tab)[256]'
lib/crc32.c:148: warning: Excess function parameter 'tab' description in 'crc32_le_generic'
lib/crc32.c:293: warning: No description found for parameter 'tab)[256]'
lib/crc32.c:293: warning: Excess function parameter 'tab' description in 'crc32_be_generic'
lib/crc32.c:1: warning: no structured comments found
>> mm/slab.c:1882: warning: Excess function parameter 'align' description in 'calculate_slab_order'
mm/filemap.c:1898: warning: No description found for parameter 'gfp_mask'
vim +1882 mm/slab.c
97654dfa Joonsoo Kim 2014-08-06 1866
^1da177e Linus Torvalds 2005-04-16 1867 /**
a70773dd Randy Dunlap 2006-02-01 1868 * calculate_slab_order - calculate size (page order) of slabs
a70773dd Randy Dunlap 2006-02-01 1869 * @cachep: pointer to the cache that is being created
a70773dd Randy Dunlap 2006-02-01 1870 * @size: size of objects to be created in this cache.
a70773dd Randy Dunlap 2006-02-01 1871 * @align: required alignment for the objects.
a70773dd Randy Dunlap 2006-02-01 1872 * @flags: slab allocation flags
a70773dd Randy Dunlap 2006-02-01 1873 *
a70773dd Randy Dunlap 2006-02-01 1874 * Also calculates the number of objects per slab.
4d268eba Pekka Enberg 2006-01-08 1875 *
4d268eba Pekka Enberg 2006-01-08 1876 * This could be made much more intelligent. For now, try to avoid using
4d268eba Pekka Enberg 2006-01-08 1877 * high order pages for slabs. When the gfp() functions are more friendly
4d268eba Pekka Enberg 2006-01-08 1878 * towards high-order requests, this should be changed.
4d268eba Pekka Enberg 2006-01-08 1879 */
a737b3e2 Andrew Morton 2006-03-22 1880 static size_t calculate_slab_order(struct kmem_cache *cachep,
3d51ae1a Joonsoo Kim 2016-01-28 1881 size_t size, unsigned long flags)
4d268eba Pekka Enberg 2006-01-08 @1882 {
b1ab41c4 Ingo Molnar 2006-06-02 1883 unsigned long offslab_limit;
4d268eba Pekka Enberg 2006-01-08 1884 size_t left_over = 0;
9888e6fa Linus Torvalds 2006-03-06 1885 int gfporder;
4d268eba Pekka Enberg 2006-01-08 1886
0aa817f0 Christoph Lameter 2007-05-16 1887 for (gfporder = 0; gfporder <= KMALLOC_MAX_ORDER; gfporder++) {
4d268eba Pekka Enberg 2006-01-08 1888 unsigned int num;
4d268eba Pekka Enberg 2006-01-08 1889 size_t remainder;
4d268eba Pekka Enberg 2006-01-08 1890
:::::: The code at line 1882 was first introduced by commit
:::::: 4d268eba1187ef66844a6a33b9431e5d0dadd4ad [PATCH] slab: extract slab order calculation to separate function
:::::: TO: Pekka Enberg <penberg@cs.helsinki.fi>
:::::: CC: Linus Torvalds <torvalds@g5.osdl.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 6230 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-28 7:51 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 7:50 [linux-next:master 1828/2084] DockBook: mm/slab.c:1882: warning: Excess function parameter 'align' description in 'calculate_slab_order' kbuild test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox