Details

    • Technical task
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0
    • Lustre 2.2.0
    • FC13 running clang-analyzer-2.8-10.fc13.x86_64
    • 4812

    Description

      Tracking bug for warnings produced by the clang-analyzer static code analysis tool.

      The first one is a trivial printk() format warning due to the use of "%Lu" for LPU64, and other places in the code. The "%L" format specifier is a GCCism that is deprecated in favor of "%ll" from C99.

      Attachments

        Issue Links

          Activity

            [LU-871] clang: minor code cleanups

            Integrated in lustre-master » i686,server,el6,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/llite/rw.c
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/utils/gss/lgss_utils.c
            • lustre/fid/lproc_fid.c
            • lustre/tests/checkstat.c
            • lustre/liblustre/super.c
            • lustre/tests/truncate.c
            • lustre/utils/gss/lgss_keyring.c
            • lustre/llite/file.c
            • lustre/include/lustre_debug.h
            • lnet/utils/routerstat.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,server,el6,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/llite/rw.c libcfs/include/libcfs/linux/kp30.h lustre/utils/gss/lgss_utils.c lustre/fid/lproc_fid.c lustre/tests/checkstat.c lustre/liblustre/super.c lustre/tests/truncate.c lustre/utils/gss/lgss_keyring.c lustre/llite/file.c lustre/include/lustre_debug.h lnet/utils/routerstat.c libcfs/include/libcfs/posix/posix-wordsize.h

            Integrated in lustre-master » i686,server,el5,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/utils/gss/lgss_keyring.c
            • lustre/liblustre/super.c
            • lustre/utils/gss/lgss_utils.c
            • lustre/llite/rw.c
            • lustre/tests/checkstat.c
            • lustre/llite/file.c
            • lnet/utils/routerstat.c
            • lustre/tests/truncate.c
            • lustre/fid/lproc_fid.c
            • lustre/include/lustre_debug.h
            • libcfs/include/libcfs/linux/kp30.h
            • libcfs/include/libcfs/posix/posix-wordsize.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,server,el5,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/utils/gss/lgss_keyring.c lustre/liblustre/super.c lustre/utils/gss/lgss_utils.c lustre/llite/rw.c lustre/tests/checkstat.c lustre/llite/file.c lnet/utils/routerstat.c lustre/tests/truncate.c lustre/fid/lproc_fid.c lustre/include/lustre_debug.h libcfs/include/libcfs/linux/kp30.h libcfs/include/libcfs/posix/posix-wordsize.h

            Integrated in lustre-master » x86_64,server,el5,ofa #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = FAILURE
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • libcfs/include/libcfs/linux/kp30.h
            • lustre/llite/file.c
            • lustre/utils/gss/lgss_utils.c
            • lustre/utils/gss/lgss_keyring.c
            • lustre/tests/truncate.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • lustre/llite/rw.c
            • lnet/utils/routerstat.c
            • lustre/tests/checkstat.c
            • lustre/fid/lproc_fid.c
            • lustre/liblustre/super.c
            • lustre/include/lustre_debug.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,server,el5,ofa #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = FAILURE Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : libcfs/include/libcfs/linux/kp30.h lustre/llite/file.c lustre/utils/gss/lgss_utils.c lustre/utils/gss/lgss_keyring.c lustre/tests/truncate.c libcfs/include/libcfs/posix/posix-wordsize.h lustre/llite/rw.c lnet/utils/routerstat.c lustre/tests/checkstat.c lustre/fid/lproc_fid.c lustre/liblustre/super.c lustre/include/lustre_debug.h

            Integrated in lustre-master » i686,client,el5,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/tests/truncate.c
            • lustre/liblustre/super.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • lustre/tests/checkstat.c
            • lnet/utils/routerstat.c
            • lustre/include/lustre_debug.h
            • lustre/utils/gss/lgss_utils.c
            • lustre/llite/file.c
            • lustre/utils/gss/lgss_keyring.c
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/fid/lproc_fid.c
            • lustre/llite/rw.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,client,el5,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/tests/truncate.c lustre/liblustre/super.c libcfs/include/libcfs/posix/posix-wordsize.h lustre/tests/checkstat.c lnet/utils/routerstat.c lustre/include/lustre_debug.h lustre/utils/gss/lgss_utils.c lustre/llite/file.c lustre/utils/gss/lgss_keyring.c libcfs/include/libcfs/linux/kp30.h lustre/fid/lproc_fid.c lustre/llite/rw.c

            Integrated in lustre-master » i686,client,el5,ofa #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lnet/utils/routerstat.c
            • libcfs/include/libcfs/linux/kp30.h
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • lustre/llite/file.c
            • lustre/llite/rw.c
            • lustre/liblustre/super.c
            • lustre/tests/checkstat.c
            • lustre/include/lustre_debug.h
            • lustre/utils/gss/lgss_utils.c
            • lustre/utils/gss/lgss_keyring.c
            • lustre/tests/truncate.c
            • lustre/fid/lproc_fid.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,client,el5,ofa #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lnet/utils/routerstat.c libcfs/include/libcfs/linux/kp30.h libcfs/include/libcfs/posix/posix-wordsize.h lustre/llite/file.c lustre/llite/rw.c lustre/liblustre/super.c lustre/tests/checkstat.c lustre/include/lustre_debug.h lustre/utils/gss/lgss_utils.c lustre/utils/gss/lgss_keyring.c lustre/tests/truncate.c lustre/fid/lproc_fid.c

            Integrated in lustre-master » x86_64,server,el5,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/tests/truncate.c
            • lustre/utils/gss/lgss_utils.c
            • lustre/llite/file.c
            • lustre/llite/rw.c
            • lustre/include/lustre_debug.h
            • lustre/fid/lproc_fid.c
            • lustre/utils/gss/lgss_keyring.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/tests/checkstat.c
            • lustre/liblustre/super.c
            • lnet/utils/routerstat.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,server,el5,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/tests/truncate.c lustre/utils/gss/lgss_utils.c lustre/llite/file.c lustre/llite/rw.c lustre/include/lustre_debug.h lustre/fid/lproc_fid.c lustre/utils/gss/lgss_keyring.c libcfs/include/libcfs/posix/posix-wordsize.h libcfs/include/libcfs/linux/kp30.h lustre/tests/checkstat.c lustre/liblustre/super.c lnet/utils/routerstat.c

            Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/liblustre/super.c
            • lnet/utils/routerstat.c
            • lustre/utils/gss/lgss_utils.c
            • lustre/tests/checkstat.c
            • lustre/llite/rw.c
            • lustre/tests/truncate.c
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/include/lustre_debug.h
            • lustre/llite/file.c
            • lustre/fid/lproc_fid.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • lustre/utils/gss/lgss_keyring.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,client,ubuntu1004,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/liblustre/super.c lnet/utils/routerstat.c lustre/utils/gss/lgss_utils.c lustre/tests/checkstat.c lustre/llite/rw.c lustre/tests/truncate.c libcfs/include/libcfs/linux/kp30.h lustre/include/lustre_debug.h lustre/llite/file.c lustre/fid/lproc_fid.c libcfs/include/libcfs/posix/posix-wordsize.h lustre/utils/gss/lgss_keyring.c

            Integrated in lustre-master » x86_64,client,el5,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lnet/utils/routerstat.c
            • lustre/tests/truncate.c
            • lustre/fid/lproc_fid.c
            • lustre/liblustre/super.c
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/tests/checkstat.c
            • lustre/utils/gss/lgss_keyring.c
            • lustre/include/lustre_debug.h
            • lustre/llite/rw.c
            • lustre/utils/gss/lgss_utils.c
            • lustre/llite/file.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,client,el5,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lnet/utils/routerstat.c lustre/tests/truncate.c lustre/fid/lproc_fid.c lustre/liblustre/super.c libcfs/include/libcfs/linux/kp30.h lustre/tests/checkstat.c lustre/utils/gss/lgss_keyring.c lustre/include/lustre_debug.h lustre/llite/rw.c lustre/utils/gss/lgss_utils.c lustre/llite/file.c libcfs/include/libcfs/posix/posix-wordsize.h

            Integrated in lustre-master » i686,client,el6,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/tests/checkstat.c
            • lustre/tests/truncate.c
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/liblustre/super.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • lustre/utils/gss/lgss_utils.c
            • lustre/fid/lproc_fid.c
            • lustre/llite/rw.c
            • lustre/llite/file.c
            • lustre/utils/gss/lgss_keyring.c
            • lustre/include/lustre_debug.h
            • lnet/utils/routerstat.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » i686,client,el6,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/tests/checkstat.c lustre/tests/truncate.c libcfs/include/libcfs/linux/kp30.h lustre/liblustre/super.c libcfs/include/libcfs/posix/posix-wordsize.h lustre/utils/gss/lgss_utils.c lustre/fid/lproc_fid.c lustre/llite/rw.c lustre/llite/file.c lustre/utils/gss/lgss_keyring.c lustre/include/lustre_debug.h lnet/utils/routerstat.c

            Integrated in lustre-master » x86_64,client,el5,ofa #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/liblustre/super.c
            • lustre/tests/truncate.c
            • lustre/llite/rw.c
            • lustre/fid/lproc_fid.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/tests/checkstat.c
            • lnet/utils/routerstat.c
            • lustre/utils/gss/lgss_utils.c
            • lustre/utils/gss/lgss_keyring.c
            • lustre/llite/file.c
            • lustre/include/lustre_debug.h
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,client,el5,ofa #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/liblustre/super.c lustre/tests/truncate.c lustre/llite/rw.c lustre/fid/lproc_fid.c libcfs/include/libcfs/posix/posix-wordsize.h libcfs/include/libcfs/linux/kp30.h lustre/tests/checkstat.c lnet/utils/routerstat.c lustre/utils/gss/lgss_utils.c lustre/utils/gss/lgss_keyring.c lustre/llite/file.c lustre/include/lustre_debug.h

            Integrated in lustre-master » x86_64,server,el6,inkernel #378
            LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624)

            Result = SUCCESS
            Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624
            Files :

            • lustre/utils/gss/lgss_utils.c
            • lustre/include/lustre_debug.h
            • lustre/liblustre/super.c
            • libcfs/include/libcfs/posix/posix-wordsize.h
            • lustre/fid/lproc_fid.c
            • lustre/utils/gss/lgss_keyring.c
            • lnet/utils/routerstat.c
            • lustre/tests/truncate.c
            • lustre/llite/file.c
            • libcfs/include/libcfs/linux/kp30.h
            • lustre/llite/rw.c
            • lustre/tests/checkstat.c
            hudson Build Master (Inactive) added a comment - Integrated in lustre-master » x86_64,server,el6,inkernel #378 LU-871 build: change %L printk format to %ll (Revision 3684de257a7e8932936a27d0fdb3ecb39653e624) Result = SUCCESS Oleg Drokin : 3684de257a7e8932936a27d0fdb3ecb39653e624 Files : lustre/utils/gss/lgss_utils.c lustre/include/lustre_debug.h lustre/liblustre/super.c libcfs/include/libcfs/posix/posix-wordsize.h lustre/fid/lproc_fid.c lustre/utils/gss/lgss_keyring.c lnet/utils/routerstat.c lustre/tests/truncate.c lustre/llite/file.c libcfs/include/libcfs/linux/kp30.h lustre/llite/rw.c lustre/tests/checkstat.c

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: