Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.13.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      In file included from include/linux/kernel.h:10:0,
                       from include/linux/list.h:9,
                       from include/linux/random.h:10,
                       from /home/wangsl/lustre-release/lnet/lnet/router.c:25:
      /home/wangsl/lustre-release/lnet/lnet/router.c: In function ‘lnet_del_route’:
      include/linux/compiler.h:177:26: error: ‘lp’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
        case 8: *(__u64 *)res = *(volatile __u64 *)p; break;  \
                                ^
      /home/wangsl/lustre-release/lnet/lnet/router.c:754:20: note: ‘lp’ was declared here
        struct lnet_peer *lp;
                          ^
      /home/wangsl/lustre-release/lnet/lnet/router.c: At top level:
      cc1: error: unrecognized command line option ‘-Wno-stringop-overflow’ [-Werror]
      cc1: error: unrecognized command line option ‘-Wno-stringop-truncation’ [-Werror]
      cc1: error: unrecognized command line option ‘-Wno-format-truncation’ [-Werror]
      cc1: all warnings being treated as errors
      

      Attachments

        Activity

          [LU-12764] ubuntu16 client build failure
          pjones Peter Jones added a comment -

          Landed for 2.13

          pjones Peter Jones added a comment - Landed for 2.13

          Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36189/
          Subject: LU-12764 lnet: eliminate uninitialized warning
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: a8fbaa1b998f558cdb196822447b2aafe8cf98b5

          gerrit Gerrit Updater added a comment - Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/36189/ Subject: LU-12764 lnet: eliminate uninitialized warning Project: fs/lustre-release Branch: master Current Patch Set: Commit: a8fbaa1b998f558cdb196822447b2aafe8cf98b5

          Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/36189
          Subject: LU-12764 lnet: eliminate uninitialized warning
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 0b7daa19f8f6b276244c6b39f533c523b0c51ce3

          gerrit Gerrit Updater added a comment - Wang Shilong (wshilong@ddn.com) uploaded a new patch: https://review.whamcloud.com/36189 Subject: LU-12764 lnet: eliminate uninitialized warning Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 0b7daa19f8f6b276244c6b39f533c523b0c51ce3

          People

            wshilong Wang Shilong (Inactive)
            wshilong Wang Shilong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: