Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1252369

Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits

From kbuild test robot <lkp@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits
Date 2015-10-21 01:40 +0200
Message-ID <qlOFz-20f-5@gated-at.bofh.it> (permalink)
References <qlLRo-6h1-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi Rasmus,

[auto build test ERROR on next-20151020 -- if it's inappropriate base, please suggest rules for selecting the more suitable base]

url:    https://github.com/0day-ci/linux/commits/Rasmus-Villemoes/lib-vsprintf-c-pull-out-padding-code-from-dentry_name/20151021-043621
config: frv-defconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=frv 

All errors (new ones prefixed by >>):

>> lib/vsprintf.c:389:13: error: size of array '__check_printf_spec' is negative
    extern char __check_printf_spec[1-2*(sizeof(struct printf_spec) != 8)];
                ^

vim +/__check_printf_spec +389 lib/vsprintf.c

   383		unsigned int	type:8;		/* format_type enum */
   384		signed int	field_width:24;	/* width of output field */
   385		unsigned int	flags:8;	/* flags to number() */
   386		unsigned int	base:8;		/* number base, 8, 10 or 16 only */
   387		signed int	precision:16;	/* # of digits/chars */
   388	};
 > 389	extern char __check_printf_spec[1-2*(sizeof(struct printf_spec) != 8)];
   390	
   391	static noinline_for_stack
   392	char *number(char *buf, char *end, unsigned long long num,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-10-20 22:40 +0200
  Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits kbuild test robot <lkp@intel.com> - 2015-10-21 01:40 +0200
    Re: [PATCH 04/13] lib/vsprintf.c: expand field_width to 24 bits Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-10-21 11:00 +0200
  [PATCH v2 04/13] lib/vsprintf.c: expand field_width to 24 bits Rasmus Villemoes <linux@rasmusvillemoes.dk> - 2015-10-21 11:10 +0200

csiph-web