From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============4914850444119691319==" MIME-Version: 1.0 From: kbuild test robot To: kbuild-all@lists.01.org Subject: [arnd-playground:y2038-endgame 87/88] fs/compat_ioctl.c:316:23: sparse: sparse: expected ; at end of declaration Date: Fri, 08 Nov 2019 21:59:02 +0800 Message-ID: <201911082155.xOGLeo7z%lkp@intel.com> List-Id: --===============4914850444119691319== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://git.kernel.org/pub/scm/linux/kernel/git/arnd/playground.git= y2038-endgame head: 6f76dcc2f041801fc5ce6e418ef8912a24244436 commit: f3fe428cb97091033eb9eeb4262fa57ed341a027 [87/88] y2038: remove unus= ed time32 interfaces reproduce: # apt-get install sparse # sparse version: v0.6.1-21-gb31adac-dirty git checkout f3fe428cb97091033eb9eeb4262fa57ed341a027 make ARCH=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> fs/compat_ioctl.c:316:23: sparse: sparse: expected ; at end of declarati= on fs/compat_ioctl.c:316:23: sparse: sparse: Expected } at end of struct-un= ion-enum-specifier fs/compat_ioctl.c:316:23: sparse: sparse: got xmit_idle fs/compat_ioctl.c:317:23: sparse: sparse: Expected ; at end of declarati= on fs/compat_ioctl.c:317:23: sparse: sparse: got recv_idle fs/compat_ioctl.c:318:1: sparse: sparse: Expected ; at the end of type d= eclaration fs/compat_ioctl.c:318:1: sparse: sparse: got } fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:335:21: sparse: sparse: no member 'xmit_idle' in struc= t ppp_idle32 >> fs/compat_ioctl.c:335:21: sparse: sparse: incompatible types for 'case' = statement >> fs/compat_ioctl.c:335:21: sparse: sparse: incompatible types for 'case' = statement >> fs/compat_ioctl.c:335:21: sparse: sparse: incompatible types for 'case' = statement >> fs/compat_ioctl.c:335:21: sparse: sparse: incompatible types for 'case' = statement fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: no member 'recv_idle' in struc= t ppp_idle32 fs/compat_ioctl.c:336:21: sparse: sparse: incompatible types for 'case' = statement fs/compat_ioctl.c:336:21: sparse: sparse: incompatible types for 'case' = statement fs/compat_ioctl.c:336:21: sparse: sparse: incompatible types for 'case' = statement fs/compat_ioctl.c:336:21: sparse: sparse: incompatible types for 'case' = statement vim +316 fs/compat_ioctl.c ^1da177e4c3f41 Linus Torvalds 2005-04-16 314 = ^1da177e4c3f41 Linus Torvalds 2005-04-16 315 struct ppp_idle32 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 @316 compat_time_t xmit_idle; ^1da177e4c3f41 Linus Torvalds 2005-04-16 317 compat_time_t recv_idle; ^1da177e4c3f41 Linus Torvalds 2005-04-16 318 }; ^1da177e4c3f41 Linus Torvalds 2005-04-16 319 #define PPPIOCGIDLE32 _IOR(= 't', 63, struct ppp_idle32) ^1da177e4c3f41 Linus Torvalds 2005-04-16 320 = 66cf191f3eae45 Al Viro 2016-01-07 321 static int ppp_gidle(struct = file *file, unsigned int cmd, 43c6e7b97f9ea0 Arnd Bergmann 2009-11-14 322 struct ppp_idle32 __user *= idle32) ^1da177e4c3f41 Linus Torvalds 2005-04-16 323 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 324 struct ppp_idle __user *idl= e; ^1da177e4c3f41 Linus Torvalds 2005-04-16 325 __kernel_time_t xmit, recv; ^1da177e4c3f41 Linus Torvalds 2005-04-16 326 int err; ^1da177e4c3f41 Linus Torvalds 2005-04-16 327 = ^1da177e4c3f41 Linus Torvalds 2005-04-16 328 idle =3D compat_alloc_user_= space(sizeof(*idle)); ^1da177e4c3f41 Linus Torvalds 2005-04-16 329 = 66cf191f3eae45 Al Viro 2016-01-07 330 err =3D do_ioctl(file, PPPI= OCGIDLE, (unsigned long) idle); ^1da177e4c3f41 Linus Torvalds 2005-04-16 331 = ^1da177e4c3f41 Linus Torvalds 2005-04-16 332 if (!err) { ^1da177e4c3f41 Linus Torvalds 2005-04-16 333 if (get_user(xmit, &idle->= xmit_idle) || ^1da177e4c3f41 Linus Torvalds 2005-04-16 334 get_user(recv, &idle->= recv_idle) || ^1da177e4c3f41 Linus Torvalds 2005-04-16 @335 put_user(xmit, &idle32= ->xmit_idle) || ^1da177e4c3f41 Linus Torvalds 2005-04-16 336 put_user(recv, &idle32= ->recv_idle)) ^1da177e4c3f41 Linus Torvalds 2005-04-16 337 err =3D -EFAULT; ^1da177e4c3f41 Linus Torvalds 2005-04-16 338 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 339 return err; ^1da177e4c3f41 Linus Torvalds 2005-04-16 340 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 341 = :::::: The code at line 316 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds :::::: CC: Linus Torvalds --- 0-DAY kernel test infrastructure Open Source Technology Cen= ter https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corpor= ation --===============4914850444119691319==--