Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-20401

compile warning "include/lustre_compat/linux/inetdevice.h:5: warning: header guard ‘__LIBCFS_LINUX_INETDEVICE_H__’

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • None
    • None
    • 3
    • 9223372036854775807

      Ubuntu:2604 Throws compile warning 

      In file included from lnet/klnds/in-kernel-o2iblnd/o2iblnd.c:14:
      include/lustre_compat/linux/inetdevice.h:5: warning: header guard ‘__LIBCFS_LINUX_INETDEVICE_H__’ followed by ‘#define’ of a different macro [-Wheader-guard]
          5 | #ifndef __LIBCFS_LINUX_INETDEVICE_H__
      include/lustre_compat/linux/inetdevice.h:6: note: ‘__LIBCFS_LINUX_INETDEIVCE_H__’ is defined here; did you mean ‘__LIBCFS_LINUX_INETDEVICE_H__’?
          6 | #define __LIBCFS_LINUX_INETDEIVCE_H__

            wc-triage WC Triage
            arshad512 Arshad Hussain
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: