Skip to contentSkip to conversation

Fix compiler warnings about set-but-not-used variables

PATCH In review Bart Van Assche 3 participants 3 messages May 22, 2016 – Aug 17, 2016 2 messages not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix compiler warnings about set-but-not-used variables

Recent gcc versions emit a warning if a variable is set but not used. Suppress these warnings by removing dummy assignments to unused arguments. Additionally, enable the compiler command-line option -Wno-unused-parameter and remove the '(void)arg' statements that thereby became superfluous.

---
 cmdif/tools_cif.c                            |   1 -
 cmdparser/my_getopt.c                        |   3 -
 common/compatibility.h                       |   7 +
 flint/Makefile.am                            |   2 +-
 flint/subcommands.cpp                        |   7 -
 mflash/Makefile.am                           |   2 +-
 mflash/mflash.c                              |  20 +-
 mlxconfig/Makefile.am                        |   2 +-
 mlxconfig/mlxcfg_param_lib.cpp               |  22 -
 mlxconfig/mlxcfg_param_lib.h                 |  15 +-
 mlxconfig/mlxcfg_ui.cpp                      |   2 +-
 mlxfwops/lib/Makefile.am                     |   2 +-
 mlxfwops/lib/aux_tlv_ops.cpp                 |   1 -
 mlxfwops/lib/flint_io.cpp                    |   9 +-
 mlxfwops/lib/fs2_ops.cpp                     |  33 +-
 mlxfwops/lib/fs3_ops.cpp                     |  24 +-
 mlxfwops/lib/fw_ops.cpp                      |  10 -
 mtcr_ul/Makefile.am                          |   2 +-
 mtcr_ul/mtcr_ib_ofed.c                       |   1 -
 mtcr_ul/mtcr_ib_res_mgt.c                    |  12 -
 mtcr_ul/mtcr_ul.c                            |  22 +-
 small_utils/mcra.c                           |   1 -
 tools_layouts/cibfw_layouts.c                | 249 --------
 tools_layouts/connectib_layouts.c            |  32 -
 tools_layouts/cx4fw_layouts.c                |  95 ---
 tools_layouts/register_access_open_layouts.c |  49 --
 tools_layouts/register_access_sib_layouts.c  |  97 ---
 tools_layouts/tools_open_layouts.c           | 895 ---------------------------
 28 files changed, 35 insertions(+), 1582 deletions(-)
cmdif/tools_cif.c +0 -1
index c6afc68..d767ada 100644
@@ -132,7 +132,6 @@ const char* tcif_err2str(MError rc) {
 MError tcif_cr_mbox_supported(mfile* dev)
 {
 #if defined(__FreeBSD__) || defined(UEFI_BUILD)
-    (void)dev;
     return ME_NOT_IMPLEMENTED;
 #else
     return tools_cmdif_is_cr_mbox_supported(dev);
cmdparser/my_getopt.c +0 -3
index be6281d..6e64b35 100755
@@ -394,9 +394,6 @@
    /* Start processing options with ARGV-element 1 (since ARGV-element 0
       is the program name); the sequence of previously skipped
       non-option ARGV-elements is empty.  */
-   // avoid compiler warnings
-   (void) argc;
-   (void) argv;
    first_nonopt = last_nonopt = tools_optind;
 
    nextchar = NULL;
common/compatibility.h +7 -0
index 8dc85e3..8f3b4d5 100644
@@ -215,6 +215,13 @@
 #endif
 
 /*
+ * Windows (Microsoft C Compiler)
+ */
+#ifdef _MSC_VER
+#pragma warning (disable: 4100) // 'identifier' : unreferenced formal parameter
+#endif
+
+/*
  * Windows (CYGWIN)
  */
 #if defined(__CYGWIN32__)
flint/Makefile.am +1 -1
index d2cb8c5..74ac507 100755
@@ -42,7 +42,7 @@ CMDIF_DIR   = $(top_srcdir)/cmdif
 AM_CPPFLAGS = -I$(top_srcdir) -I$(srcdir) -I$(MTCR_DIR) -I$(MFLASH_DIR) -I$(COMMON_DIR) \
            -I$(LAYOUTS_DIR) -I$(MFT_UTILS_DIR) -I$(MTCR_INC_DIR)
 
-mstflint_CXXFLAGS = -Wall -W -g -MP -MD -pipe -DEXTERNAL
+mstflint_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -g -MP -MD -pipe -DEXTERNAL
 bin_PROGRAMS = mstflint
 
 mstflint_SOURCES = flint.cpp flint.h subcommands.cpp subcommands.h\
flint/subcommands.cpp +0 -7
index 0bcc4ee..6d9e470 100644
@@ -930,10 +930,6 @@ bool SubCommand::unzipDataFile (std::vector<u_int8_t> data, std::vector<u_int8_t
     newData.resize(destLen + 1);
     return true;
 #else
-    // avoid warnings
-    (void) data;
-    (void) newData;
-    (void) sectionName;
     reportErr(true, FLINT_NO_ZLIB_ERROR);
     return false;
 #endif
@@ -966,7 +962,6 @@ bool SubCommand::dumpFile(const char* confFile, std::vector<u_int8_t>& data, con
 
 bool SubCommand::checkGuidsFlags (u_int16_t devType, u_int8_t fwType,
                             bool guidsSpecified, bool macsSpecified, bool uidSpecified, bool ibDev, bool ethDev) {
-    (void)ibDev;
     if (guidsSpecified || macsSpecified || uidSpecified) {
         if (uidSpecified && fwType != FIT_FS3) {
             reportErr(true, "-uid flag is applicable only for FS3 FW Only.\n");
@@ -4282,8 +4277,6 @@ FlintStatus TimeStampSubCommand::executeCommand()
     if (preFwOps() == FLINT_FAILED) {
         return FLINT_FAILED;
     }
-    _ops = _flintParams.device_specified ? _fwOps : _imgOps;
-    (void)_ops;
     switch (_operation) {
     case TimeStampSubCommand::TS_Set:
         rc = setTs();
mflash/Makefile.am +1 -1
index c45351a..12da860 100644
@@ -34,7 +34,7 @@
 AM_CPPFLAGS= -I. -I$(top_srcdir)/include/mtcr_ul -I$(top_srcdir)/common -I$(top_srcdir)/tools_layouts -I$(top_srcdir)/reg_access \
           -I$(top_srcdir)/cmdif -I$(top_srcdir)/tools_res_mgmt
 
-AM_CFLAGS = -MD -pipe -Wall -W -DMST_UL -g ${MFLASH_INBAND_FLAG}
+AM_CFLAGS = -MD -pipe -Wall -Wextra -Wno-unused-parameter -DMST_UL -g ${MFLASH_INBAND_FLAG}
 
 noinst_LIBRARIES = libmflash.a
 
mflash/mflash.c +2 -18
index 1c37b35..dbfb870 100644
@@ -102,9 +102,7 @@
 #include <windows.h>
 #define TIMER_INIT()\
     SYSTEMTIME _start, _end;\
-    int _diff_in_sec, _diff_in_ms;\
-    (void)_diff_in_sec;\
-    (void)_diff_in_ms
+    int _diff_in_sec, _diff_in_ms;
 #define TIMER_START()\
     GetSystemTime(&_start)
 #define TIMER_STOP()\
@@ -1017,7 +1015,6 @@ enum CrConstans {
 int gw_wait_ready(mflash* mfl, const char* msg) {
     u_int32_t gw_cmd;
     u_int32_t cnt = 0;
-    (void)msg; // NOT USED FOR NOW
     do {
         // Timeout checks
         if (++cnt > FLASH_CMD_CNT) {
@@ -1034,7 +1031,6 @@ int gw_wait_ready(mflash* mfl, const char* msg) {
 
 
 int empty_reset          (mflash* mfl) {
-    (void)mfl; /* avoid compiler warning */
     return MFE_OK;
 }
 
@@ -1088,8 +1084,6 @@ enum CntxCrConstants{
 
 int empty_set_bank(mflash* mfl, u_int32_t bank) {
     // NULL function - No actual work here - in ConnectX the curr_bank is written in the command word.
-    (void)mfl; // Avoid Compiler warning
-    (void)bank;   // Avoid Compiler warning
     return MFE_OK;
 }
 
@@ -1415,7 +1409,6 @@ int spi_update_num_of_banks(mflash* mfl, int prev_num_of_flashes)
 
 
 int cntx_st_spi_reset          (mflash* mfl) {
-    (void)mfl;
     return MFE_OK;
 }
 
@@ -1826,7 +1819,6 @@ int cntx_flash_init_direct_access(mflash* mfl, flash_params_t* flash_params) {
 // InfiniScale 4 (IS4) functions:
 
 int is4_init_gpios(mflash* mfl) {
-    (void)mfl;
     return MFE_NOT_IMPLEMENTED;
 }
 
@@ -2107,11 +2099,6 @@ int sx_erase_sect(mflash* mfl, u_int32_t addr)
 
 int empty_get_status(mflash* mfl, u_int8_t op_type, u_int8_t* status)
 {
-    // Avoid warnings
-    (void)mfl;
-    (void)op_type;
-    (void)status;
-
     return MFE_NOT_SUPPORTED_OPERATION;
 }
 
@@ -2569,7 +2556,7 @@ void     mf_close       (mflash* mfl) {
     }
 
     if (mfl->f_set_bank) {
-        (void)set_bank(mfl, 0);
+        set_bank(mfl, 0);
     }
     // we release if we have writer_lock or not doesnt matter on close ...
     release_semaphore(mfl, 1);
@@ -3034,8 +3021,6 @@ int mf_enable_hw_access(mflash* mfl, u_int64_t key)
     rc = tcif_hw_access(mfl->mf, key, 0 /* Unlock */);
     return (rc == ME_CMDIF_UNKN_TLV) ? MFE_MISMATCH_KEY : MError2MfError(rc);
 #else
-    (void)mfl;
-    (void)key;
     return MFE_NOT_SUPPORTED_OPERATION;
 #endif
 }
@@ -3049,7 +3034,6 @@ int mf_disable_hw_access(mflash* mfl)
     rc = tcif_hw_access(mfl->mf, 0, 1 /* Lock */);
     return (rc == ME_CMDIF_UNKN_TLV) ? MFE_MISMATCH_KEY : MError2MfError(rc);
 #else
-    (void)mfl;
     return MFE_NOT_SUPPORTED_OPERATION;
 #endif
 }
mlxconfig/Makefile.am +1 -1
index c9189aa..11865a4 100755
@@ -45,7 +45,7 @@ CMDIF_DIR = $(USER_DIR)/cmdif
 AM_CPPFLAGS = -I. -I$(USER_DIR) -I$(top_srcdir)/include/mtcr_ul -I$(MTCR_DIR) -I$(COMMON_DIR) $(WIN64_INC)\
            -I $(LAYOUTS_DIR) -I $(UTILS_DIR) -I$(DEV_MGT_DIR) -I$(CMDIF_DIR)
 
-AM_CXXFLAGS = -Wall -W -g -MP -MD -pipe
+AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -g -MP -MD -pipe
 bin_PROGRAMS = mstconfig
 
 mstconfig_LDADD = $(CMDIF_DIR)/libcmdif.a ../reg_access/libreg_access.a $(LAYOUTS_LIB) $(MTCR_DIR)/libmtcr_ul.a $(MLNXOS_PPC_LIBS) $(LIBSTD_CPP) $(UTILS_LIB) $(DEV_MGT_DIR)/libdev_mgt.a -ldl
mlxconfig/mlxcfg_param_lib.cpp +0 -22
index b247ea0..ae82423 100644
@@ -433,7 +433,6 @@ bool CfgParams::checkCfg(mfile* mf)
 bool CfgParams::softLimitCheck(mfile* mf)
 {
     // by default not implemented
-    (void)mf;
     return true;
 }
 
@@ -495,7 +494,6 @@ u_int32_t BootSettingsExtParams4thGen::getParam(mlxCfgParam paramType)
 
 bool BootSettingsExtParams4thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
-    (void)param;
     struct tools_open_query_def_params_global params;
     int rc;
     rc = getDefaultParams4thGen(mf, &params);
@@ -621,7 +619,6 @@ u_int32_t BootSettingsExtParams5thGen::getBootSettingsExtCapabilitiesTlvTypeBe()
 bool BootSettingsExtParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     u_int8_t tlvCapBuff[TOOLS_OPEN_OPTION_ROM_CAPABILITY_SIZE] = {0};
     struct tools_open_option_rom_capability optionRomCapabilitesTlv;
     bool suppRead, suppWrite;
@@ -754,8 +751,6 @@ bool SriovParams4thGen::hardLimitCheck()
 
 bool SriovParams4thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
-    (void)mf;
-    (void)param;
     return _devCapVec & SRIOV_MASK;
 }
 
@@ -941,8 +936,6 @@ u_int32_t WolParams4thGen::getDefaultParam(mlxCfgParam paramType)
 
 bool WolParams4thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
-    (void)mf;
-    (void)param;
     return ((_devCapVec & WOL_P1_MASK) && _port == 1) || ((_devCapVec & WOL_P2_MASK) && _port == 2 );
 }
 
@@ -1048,7 +1041,6 @@ u_int32_t WolParams5thGen::getDefaultParam(mlxCfgParam paramType)
 bool WolParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
@@ -1157,8 +1149,6 @@ void BarSzParams::setParams(u_int32_t logBarSz)
 
 bool BarSzParams4thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
-    (void)mf;
-    (void)param;
     return _devCapVec & BAR_SZ_MASK ;
 }
 
@@ -1390,8 +1380,6 @@ u_int32_t VpiParams4thGen::getDefaultParam(mlxCfgParam paramType)
 
 bool VpiParams4thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
-    (void)mf;
-    (void)param;
     return ((_devCapVec & VPI_P1_MASK) && _port == 1) || ((_devCapVec & VPI_P2_MASK) && _port == 2);
 }
 
@@ -1489,7 +1477,6 @@ bool VpiParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
     // get mtcr functions for this device (physical)
     // compare with port
     // send nvqc and check
-    (void)param;
     MError rc;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite);
@@ -2013,7 +2000,6 @@ u_int32_t PciParams5thGen::calcTotalBar()
 
 bool PciParams5thGen::softLimitCheck(mfile* mf)
 {
-    (void)mf;
     if (_maxTotalBarValid == 1 && _maxTotalBar != 0 && _sriovEn == 1) {
         if(_userSpecifiedSRIOV || _userSpecifiedPfLogBarSize || _userSpecifiedVfLogBarSize){
             if(_fppEn == 1){
@@ -2078,7 +2064,6 @@ bool PciParams5thGen::softLimitCheck(mfile* mf)
 bool TptParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTptCapabilitiesTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
@@ -2271,7 +2256,6 @@ bool TptParams5thGen::hardLimitCheck()
 
 bool InfinibandBootSettingsParams4thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
-    (void)param;
     struct tools_open_query_def_params_per_port portParams;
     int rc;
     rc = getDefaultParams4thGen(mf, _port, &portParams);
@@ -2393,7 +2377,6 @@ bool InfinibandBootSettingsParams4thGen::hardLimitCheck()
 bool IBDCParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getDcCapabilitiesTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
@@ -2562,7 +2545,6 @@ void IBDCParams5thGen::updateClassDefaultAttrFromTlv(void* tlv)
 bool RoCENextProtocolParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
@@ -2673,7 +2655,6 @@ void RoCENextProtocolParams5thGen::updateClassDefaultAttrFromTlv(void* tlv)
 bool RoCECCParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
@@ -2802,7 +2783,6 @@ void RoCECCParams5thGen::updateClassDefaultAttrFromTlv(void* tlv)
 bool RoCECCEcnParams5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
@@ -3389,7 +3369,6 @@ void RoCECCEcnParams5thGen::updateClassDefaultAttrFromTlv(void* tlv)
 
 bool PrebootBootSettingsParams4thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
-    (void)param;
     struct tools_open_query_def_params_per_port portParams;
     int rc;
     rc = getDefaultParams4thGen(mf, _port, &portParams);
@@ -3581,7 +3560,6 @@ bool PrebootBootSettingsParams4thGen::hardLimitCheck()
 bool ExternalPort5thGen::cfgSupported(mfile* mf, mlxCfgParam param)
 {
     MError rc;
-    (void)param;
     bool suppRead, suppWrite;
     rc = nvqcCom5thGen(mf, getTlvTypeBe(), suppRead, suppWrite);
     if (rc) {
mlxconfig/mlxcfg_param_lib.h +12 -3
index dbc87bc..09b8766 100644
@@ -264,9 +264,18 @@ protected:
     int getDefaultParams4thGen(mfile* mf, struct tools_open_query_def_params_global* global_params);
     int getDefaultParams4thGen(mfile* mf, int port, struct tools_open_query_def_params_per_port* port_params);
 
-    virtual void updateTlvFromClassAttr(void* tlv) {(void)tlv; throw std::logic_error("Function Not Implemented");}
-    virtual void updateClassAttrFromTlv(void* tlv) {(void)tlv; throw std::logic_error("Function Not Implemented");}
-    virtual void updateClassDefaultAttrFromTlv(void* tlv) {(void)tlv; throw std::logic_error("Function Not Implemented");}
+    virtual void updateTlvFromClassAttr(void* tlv)
+    {
+        throw std::logic_error("Function Not Implemented");
+    }
+    virtual void updateClassAttrFromTlv(void* tlv)
+    {
+        throw std::logic_error("Function Not Implemented");
+    }
+    virtual void updateClassDefaultAttrFromTlv(void* tlv)
+    {
+        throw std::logic_error("Function Not Implemented");
+    }
 
     u_int64_t _devCapVec; // relevant for 4th gen devices
     bool _updated; // set true on get and false on set
mlxconfig/mlxcfg_ui.cpp +1 -1
index 1e86d53..451cf84 100644
@@ -326,7 +326,7 @@ mlxCfgStatus MlxCfg::queryDevCfg(const char* dev,const char* pci, int devIndex,
     bool failedToGetCfg = false;
     bool nothingSupported = true;
     bool isParamsDiffer = false;
-    (void) pci;
+
     // print opening
     printf("\nDevice #%d:\n", devIndex);
     printf("----------\n\n");
mlxfwops/lib/Makefile.am +1 -1
index c309507..8df3185 100755
@@ -45,7 +45,7 @@ AM_CPPFLAGS = -I$(srcdir) -I$(MTCR_INC_DIR) -I$(MFLASH_DIR) -I$(top_srcdir)/ext_
 
 MLXFWOPS_VERSION = 1
 
-AM_CXXFLAGS = -Wall -W -g -MP -MD -pipe -DNO_MFA_SUPPORT
+AM_CXXFLAGS = -Wall -Wextra -Wno-unused-parameter -g -MP -MD -pipe -DNO_MFA_SUPPORT
 
 if ENABLE_OPENSSL
 else
mlxfwops/lib/aux_tlv_ops.cpp +0 -1
index a580c78..7ed0978 100644
@@ -433,7 +433,6 @@ Tlv_Status_t ImageTimeStamp::setTimeStamp(struct tools_open_ts_entry& timestamp,
 
 Tlv_Status_t ImageTimeStamp::queryTimeStamp(struct tools_open_ts_entry& timestamp, struct tools_open_fw_version& fwVer, bool queryRunning)
 {
-    (void)queryRunning;
     aux_tlv tsTlv;
     struct tools_open_timestamp tsData;
     memset(&tsTlv, 0, sizeof(tsTlv));
mlxfwops/lib/flint_io.cpp +1 -8
index 3ed215e..329b4ed 100755
@@ -67,7 +67,6 @@ bool FImage::open(const char *fname, bool read_only, bool advErr)
     int                r_cnt;
     FILE              *fh;
 
-    (void)read_only;  // FImage can be opened only for read so we ignore compiler warnings
     _advErrors = advErr;
 
     fh = fopen(fname, "rb");
@@ -274,9 +273,9 @@ bool Flash::open(const char *device, bool force_lock, bool read_only, int num_of
 {
     // Open device
     int rc;
+
     _advErrors = advErr;
     _ignore_cache_replacement = ignore_cashe_replacement ? true : false;
-    (void)read_only; // not used , avoid compiler warnings TODO: remove this var from function def
     rc = mf_open_adv(&_mfl, device, num_of_banks, flash_params, ignore_cashe_replacement, cx3_fw_access);
     //printf("device: %s , forceLock: %s , read only: %s, num of banks: %d, flash params is null: %s, ocr: %d, rc: %d\n",
     //		device, force_lock? "true":"false", read_only?"true":"false", num_of_banks, flash_params? "no":"yes", ignore_cashe_replacement, rc);
@@ -419,22 +418,16 @@ bool Flash::write_phy(u_int32_t phy_addr, u_int32_t data)
 
 bool Flash::write_phy(u_int32_t phy_addr, void* data, int cnt, bool noerase)
 {
-    // Avoid warning
-    (void)noerase;
     NATIVE_PHY_ADDR_FUNC(write, (phy_addr, data, cnt));
 }
 
 bool Flash::read_modify_write_phy(u_int32_t phy_addr, void* data, int cnt, bool noerase)
 {
-    // Avoid warning
-    (void)noerase;
     NATIVE_PHY_ADDR_FUNC(write_with_erase, (phy_addr, data, cnt));
 }
 
 bool Flash::read_modify_write(u_int32_t phy_addr, void* data, int cnt, bool noerase)
 {
-    // Avoid warning
-    (void)noerase;
     return write_with_erase(phy_addr, data, cnt);
 }
 
mlxfwops/lib/fs2_ops.cpp +1 -32
index 785fa00..14ad15f 100644
@@ -575,9 +575,6 @@ bool Fs2Operations::Fs2Verify(VerifyCallBack verifyCallBackFunc, bool is_striped
 }
 bool Fs2Operations::FwVerify(VerifyCallBack verifyCallBackFunc, bool isStripedImage, bool showItoc)
 {
-    // avoid compiler warrning (showItoc is not used in fs2)
-    (void)showItoc;
-
     initSectToRead(FULL_VERIFY);
     if (!Fs2Verify(verifyCallBackFunc, isStripedImage)) {
         // empty the initSectToRead
@@ -900,10 +897,6 @@ bool Fs2Operations::Fs2FailSafeBurn(Fs2Operations &imageOps,
                                   bool      allow_nofs,
                                   const char* pre_message,
                                   ProgressCallBack progressFunc) {
-    //we do not use pre_message, avoid warrning
-	//TODO: remove pre_message from function definition
-    (void)pre_message;
-
     Flash  *f = (Flash*)(this->_ioAccess);
     FImage *fim = (FImage*)(imageOps._ioAccess);
 
@@ -1503,17 +1496,11 @@ bool Fs2Operations::FwReadRom(std::vector<u_int8_t>& romSect)
 
 bool Fs2Operations::FwSetMFG(fs3_uid_t baseGuid, PrintCallBack callBackFunc)
 {
-    // avoid compiler warrnings
-    (void)baseGuid;
-    (void)callBackFunc;
     return errmsg("This command is not supported for FS2 FW image.");
 }
 
 bool Fs2Operations::FwSetMFG(guid_t baseGuid, PrintCallBack callBackFunc)
 {
-    // avoid compiler warrnings
-    (void)baseGuid;
-    (void)callBackFunc;
     return errmsg("This command is not supported for FS2 FW image.");
 }
 
@@ -1539,7 +1526,6 @@ bool Fs2Operations::FwGetSection (u_int32_t sectType, std::vector<u_int8_t>& sec
 
 bool Fs2Operations::ModifyVSDSection(const char *vsd, ProgressCallBack callBackFunc)
 {
-	(void)callBackFunc; /* avoid compiler warning*/
     u_int32_t length = _fwImgInfo.lastImageAddr;
     vector<u_int8_t> data(length);
 
@@ -1737,10 +1723,8 @@ bool Fs2Operations::Fs2SetGuidsForBlank(sg_params_t& sgParam)
 
 bool Fs2Operations::Fs2SetGuids(sg_params_t& sgParam, PrintCallBack callBackFunc, ProgressCallBack progressFunc)
 {
-    // avoid compiler warrnings
-    (void)callBackFunc;
-    //
     bool ib_dev, eth_dev;
+
     // Get the FW types
     SetDevFlags(_fwImgInfo.ext_info.chip_type, _fwImgInfo.ext_info.dev_type, FIT_FS2, ib_dev, eth_dev);
     guid_t* old_guids = _fwImgInfo.imageOk ? _fs2ImgInfo.ext_info.guids : (guid_t*)NULL;
@@ -1766,10 +1750,6 @@ bool Fs2Operations::Fs2SetGuids(sg_params_t& sgParam, PrintCallBack callBackFunc
 bool Fs2Operations::FwSetGuids(sg_params_t& sgParam, PrintCallBack callBackFunc,
         ProgressCallBack progressFunc)
 {
-	/* avoid annoying mingw warnings*/
-	(void)callBackFunc;
-	(void)progressFunc;
-
     if (!Fs2IntQuery(true, sgParam.stripedImage)) {
         return false;
     }
@@ -1928,9 +1908,6 @@ bool Fs2Operations::FwDeleteRom(bool ignoreProdIdCheck, ProgressCallBack progres
 
 bool Fs2Operations::FwSetVSD(char* vsdStr, ProgressCallBack progressFunc, PrintCallBack printFunc)
 {
-    // avoid compiler warrnings
-    (void)printFunc;
-    //
     if (!Fs2IntQuery()) {
         return false;
     }
@@ -1955,16 +1932,11 @@ bool Fs2Operations::FwSetVSD(char* vsdStr, ProgressCallBack progressFunc, PrintC
 
 bool Fs2Operations::FwSetVPD(char* vpdFileStr, PrintCallBack callBackFunc)
 {
-    // avoid compiler warrnings
-    (void)vpdFileStr;
-    (void)callBackFunc;
     return errmsg("Setting VPD is not supported in FS2 image format.");
 }
 
 bool Fs2Operations::FwSetAccessKey(hw_key_t userKey, ProgressCallBack progressFunc)
 {
-	/*avoid compiler warning*/
-	(void)progressFunc;
     if (!Fs2IntQuery()) {
         return false;
     }
@@ -2045,8 +2017,6 @@ bool Fs2Operations::FwResetNvData()
 
 bool Fs2Operations::FwShiftDevData(PrintCallBack progressFunc)
 {
-    // avoid compiler warrnings
-    (void)progressFunc;
     return errmsg("Shifting device data sections is not supported in FS2 image format.");
 }
 
@@ -2061,7 +2031,6 @@ const char* Fs2Operations::FwGetResetRecommandationStr()
 bool Fs2Operations::FwCalcMD5(u_int8_t md5sum[16])
 {
 #if defined(UEFI_BUILD) || defined(NO_OPEN_SSL)
-    (void)md5sum;
     return errmsg("Operation not supported");
 #else
     // no support for striped image ATM
mlxfwops/lib/fs3_ops.cpp +4 -20
index 344279a..efa4f15 100644
@@ -237,7 +237,6 @@ bool Fs3Operations::GetImageInfo(u_int8_t *buff)
 
     // TODO: adrianc: use the version fields once they are available in tools layouts
     GET_IMAGE_INFO_VERSION(buff, IIMajor, IIMinor);
-    (void)IIMinor;
     if (!CHECK_IMAGE_INFO_VERSION(IIMajor)) {
         return errmsg(MLXFW_UNKNOWN_SECT_VER_ERR, "Unknown IMAGE_INFO format version (%d.%d).", IIMajor, IIMinor);
     }
@@ -501,9 +500,6 @@ bool Fs3Operations::VerifyTOC(u_int32_t dtoc_addr, bool& bad_signature, VerifyCa
 
 
 bool Fs3Operations::FwVerify(VerifyCallBack verifyCallBackFunc, bool isStripedImage, bool showItoc) {
-    //dummy assignment to avoid compiler warrning (isStripedImage is not used in fs3)
-    (void)isStripedImage;
-
     struct QueryOptions queryOptions;
     queryOptions.readRom = true;
     queryOptions.quickQuery = false;
@@ -684,8 +680,6 @@ bool Fs3Operations::getRunningFwVersion()
 bool Fs3Operations::FwQuery(fw_info_t *fwInfo, bool readRom, bool isStripedImage)
 {
     //isStripedImage flag is not needed in FS3 image format
-    // Avoid warning - no striped image in FS3
-    (void)isStripedImage;
     if (!Fs3IntQuery(readRom)) {
         return false;
     }
@@ -1208,9 +1202,6 @@ bool Fs3Operations::FwBurnAdvanced(FwOperations *imageOps, ExtBurnParams& burnPa
 
 bool Fs3Operations::FwBurnBlock(FwOperations *imageOps, ProgressCallBack progressFunc)
 {
-    // Avoid Warning!
-    (void)imageOps;
-    (void)progressFunc;
     return errmsg("FwBurnBlock is not supported anymore in FS3 image.");
 }
 
@@ -1256,7 +1247,6 @@ bool Fs3Operations::FwReadRom(std::vector<u_int8_t>& romSect)
 
 bool Fs3Operations::FwGetSection (u_int32_t sectType, std::vector<u_int8_t>& sectInfo, bool stripedImage)
 {
-    (void) stripedImage; // unused for FS3
     //FwGetSection only supports retrieving FS3_DBG_FW_INI section atm.
     if (sectType != FS3_DBG_FW_INI) {
         return errmsg("Unsupported section type.");
@@ -1312,9 +1302,8 @@ bool Fs3Operations::FwSetMFG(guid_t baseGuid, PrintCallBack callBackFunc)
 bool Fs3Operations::FwSetGuids(sg_params_t& sgParam, PrintCallBack callBackFunc, ProgressCallBack progressFunc)
 {
     fs3_uid_t usrGuid;
+
     memset(&usrGuid, 0, sizeof(usrGuid));
-    // Avoid Warning because there is no need for progressFunc
-    (void)progressFunc;
     if (sgParam.userGuids.empty()) {
         return errmsg("Base GUID not found.");
     }
@@ -1650,7 +1639,7 @@ bool Fs3Operations::Fs3UpdateMfgUidsSection(struct toc_info *curr_toc, std::vect
 {
     struct cibfw_mfg_info cib_mfg_info;
     struct cx4fw_mfg_info cx4_mfg_info;
-    (void)curr_toc;
+
     cibfw_mfg_info_unpack(&cib_mfg_info, (u_int8_t*)&section_data[0]);
 
     if (CHECK_MFG_OLD_FORMAT(cib_mfg_info)) {
@@ -1742,7 +1731,7 @@ bool Fs3Operations::Fs3UpdateUidsSection(struct toc_info *curr_toc, std::vector<
 {
     struct cibfw_device_info cib_dev_info;
     struct cx4fw_device_info cx4_dev_info;
-    (void)curr_toc;
+
     cibfw_device_info_unpack(&cib_dev_info, (u_int8_t*)&section_data[0]);
 
     if (CHECK_DEV_INFO_OLD_FORMAT(cib_dev_info)) {
@@ -1771,7 +1760,7 @@ bool Fs3Operations::Fs3UpdateVsdSection(struct toc_info *curr_toc, std::vector<u
         std::vector<u_int8_t>  &newSectionData)
 {
     struct cibfw_device_info dev_info;
-    (void)curr_toc;
+
     cibfw_device_info_unpack(&dev_info, (u_int8_t*)&section_data[0]);
     memset(dev_info.vsd, 0, sizeof(dev_info.vsd));
     strncpy(dev_info.vsd, user_vsd, TOOLS_ARR_SZ(dev_info.vsd) - 1);
@@ -1975,8 +1964,6 @@ bool  Fs3Operations::Fs3UpdateSection(void *new_info, fs3_section_t sect_type, b
 
 bool Fs3Operations::FwSetVSD(char* vsdStr, ProgressCallBack progressFunc, PrintCallBack printFunc)
 {
-    // Avoid warning
-    (void)progressFunc;
     if (!vsdStr) {
         return errmsg("Please specify a valid VSD string.");
     }
@@ -1997,8 +1984,6 @@ bool Fs3Operations::FwSetVSD(char* vsdStr, ProgressCallBack progressFunc, PrintC
 
 bool Fs3Operations::FwSetAccessKey(hw_key_t userKey, ProgressCallBack progressFunc)
 {
-    (void)userKey;
-    (void)progressFunc;
     return errmsg("Set access key not supported.");
 }
 
@@ -2566,7 +2551,6 @@ bool Fs3Operations::FixCX4WriteProtection(bool justCheck)
 bool Fs3Operations::FwCalcMD5(u_int8_t md5sum[16])
 {
 #if defined(UEFI_BUILD) || defined(NO_OPEN_SSL)
-    (void)md5sum;
     return errmsg("Operation not supported");
 #else
     if (!Fs3IntQuery(true, false)) {
mlxfwops/lib/fw_ops.cpp +0 -10
index ca2dab6..41de4dd 100644
@@ -1049,10 +1049,6 @@ void FwOperations::WriteToErrBuff(char* errBuff, const char* errStr, int size)
 
 bool FwOperations::UpdateImgCache(u_int8_t *buff, u_int32_t addr, u_int32_t size)
 {
-    //avoid compiler warrnings
-    (void)buff;
-    (void)addr;
-    (void)size;
     //in FS2 we dont have ImgCache, just in FS3 so we define a defult behaviour.
     return true;
 }
@@ -1425,7 +1421,6 @@ bool FwOperations::ReadImageFile(const char *fimage, u_int8_t *&file_data, int &
 
 void FwOperations::SetDevFlags(chip_type_t chipType, u_int32_t devType, fw_img_type_t fwType, bool &ibDev, bool &ethDev) {
 
-    (void)devType;
     if (chipType == CT_IS4) {
         ibDev =  true;
         ethDev = false;
@@ -1591,8 +1586,6 @@ const char* FwOperations::expRomType2Str(u_int16_t type)
 
 bool FwOperations::FwSetTimeStamp(struct tools_open_ts_entry& timestamp, struct tools_open_fw_version& fwVer)
 {
-    (void)timestamp;
-    (void)fwVer;
     return errmsg("Operation not supported.");
 }
 
@@ -1603,8 +1596,5 @@ bool FwOperations::FwResetTimeStamp()
 
 bool FwOperations::FwQueryTimeStamp(struct tools_open_ts_entry& timestamp, struct tools_open_fw_version& fwVer, bool queryRunning)
 {
-    (void)timestamp;
-    (void)fwVer;
-    (void)queryRunning;
     return errmsg("Operation not supported.");
 }
mtcr_ul/Makefile.am +1 -1
index 007c865..15e91a4 100644
@@ -41,7 +41,7 @@ libmtcr_ul_a_SOURCES = mtcr_ul.c mtcr_ib.h  mtcr_int_defs.h\
 			mtcr_ul_icmd_cif.c mtcr_icmd_cif.h\
 			packets_common.c packets_common.h\
 			packets_layout.c packets_layout.h
-libmtcr_ul_a_CFLAGS = -W -Wall -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL
+libmtcr_ul_a_CFLAGS = -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -g -MP -MD -fPIC -DMTCR_API="" -DMST_UL
 
 if ENABLE_INBAND
 libmtcr_ul_a_SOURCES += mtcr_ib_ofed.c
mtcr_ul/mtcr_ib_ofed.c +0 -1
index b49acbf..c66d281 100644
@@ -432,7 +432,6 @@ int process_dynamic_linking(ibvs_mad *ivm, int mad_init)
     char* libs[] = {"libibmad.so.5"};
 
     u_int32_t i;
-    (void)mad_init;
     for (i = 0; i < sizeof(libs)/sizeof(libs[0]) ; i++) {
         ivm->dl_handle = dlopen (libs[i], RTLD_LAZY);
         if (ivm->dl_handle) {
mtcr_ul/mtcr_ib_res_mgt.c +0 -12
index 4d316dd..8c21cda 100644
@@ -70,11 +70,6 @@ struct semaphore_lock_cmd {
 
 void semaphore_lock_cmd_pack(const struct semaphore_lock_cmd *ptr_struct, u_int8_t* ptr_buff){
     u_int32_t offset;
-    int i=0;
-    (void)offset;
-    (void)i;
-    (void)ptr_struct;
-    (void)ptr_buff;
 
     offset=24;
     push_to_buff(ptr_buff, offset, 8, (u_int32_t)ptr_struct->semaphore_max_addr);
@@ -98,13 +93,6 @@ void semaphore_lock_cmd_pack(const struct semaphore_lock_cmd *ptr_struct, u_int8
 
 void semaphore_lock_cmd_unpack(struct semaphore_lock_cmd *ptr_struct, u_int8_t* ptr_buff){
     u_int32_t offset;
-    int i=0;
-    u_int8_t val=0;
-    (void)val;
-    (void)offset;
-    (void)i;
-    (void)ptr_struct;
-    (void)ptr_buff;
 
     offset=24;
     ptr_struct->semaphore_max_addr = (u_int8_t)pop_from_buff(ptr_buff, offset, 8);
mtcr_ul/mtcr_ul.c +2 -20
index cb0a2c5..1bfba0f 100644
@@ -1145,8 +1145,6 @@ int mtcr_inband_open(mfile* mf, const char* name)
     }
 
 #else
-    (void) name;
-    (void) mf;
     errno = ENOSYS;
     return -1;
 #endif
@@ -1253,7 +1251,6 @@ name_parsed:
     *force = 0;
 #ifdef __aarch64__
     // on ARM processors MMAP not supported
-    (void)force_config;
     return MTCR_ACCESS_CONFIG;
 #else
     if (force_config) {
@@ -1285,14 +1282,12 @@ int msw_reset(mfile *mf)
         return -1;
     }
 #else
-    (void)mf;
     return -1;
 #endif
 }
 
 int mhca_reset(mfile *mf)
 {
-    (void)mf;
     errno = ENOTSUP;
     return -1;
 }
@@ -1554,7 +1549,6 @@ next:
 
 void mdevices_info_destroy(dev_info* dev_info, int len)
 {
-    (void)len;
     if (dev_info)
         free(dev_info);
 }
@@ -1793,8 +1787,6 @@ mfile *mopen_fw_ctx(void* fw_cmd_context, void* fw_cmd_func, void* extra_data)
 
 unsigned char mset_i2c_slave(mfile *mf, unsigned char new_i2c_slave)
 {
-    (void)mf;
-    (void)new_i2c_slave; /* compiler warning */
     fprintf(stderr, "Warning: libmtcr: mset_i2c_slave() is not implemented and has no effect.\n");
     return 0;
 }
@@ -1832,13 +1824,12 @@ int get_inband_dev_from_pci(char* inband_dev, char* pci_dev)
 {
     unsigned domain = 0, bus = 0, dev = 0, func = 0;
     int force = 0;
-    enum mtcr_access_method access;
     DIR* d;
     struct dirent *dir;
     char dirname[DEV_DIR_MAX_SIZE], subdirname[DEV_DIR_MAX_SIZE], linkname[DEV_DIR_MAX_SIZE];
     int found = 0;
 
-    access = mtcr_parse_name(pci_dev, &force, &domain, &bus, &dev, &func);
+    mtcr_parse_name(pci_dev, &force, &domain, &bus, &dev, &func);
 
     strcpy(dirname, "/sys/class/infiniband");
     d = opendir(dirname);
@@ -1855,7 +1846,7 @@ int get_inband_dev_from_pci(char* inband_dev, char* pci_dev)
         }
         sprintf(subdirname, "%s/%s/device", dirname, dir->d_name);
         link_size = readlink(subdirname, linkname, DEV_DIR_MAX_SIZE);
-        access = mtcr_parse_name(&linkname[link_size - BDF_NAME_SIZE], &curr_force, &curr_domain, &curr_bus, &curr_dev, &curr_func);
+        mtcr_parse_name(&linkname[link_size - BDF_NAME_SIZE], &curr_force, &curr_domain, &curr_bus, &curr_dev, &curr_func);
                  
         if (domain == curr_domain && bus == curr_bus && dev == curr_dev && func == curr_func) {
             sprintf(inband_dev, "ibdr-0,%s,1", dir->d_name);
@@ -1865,7 +1856,6 @@ int get_inband_dev_from_pci(char* inband_dev, char* pci_dev)
     }
 
     closedir(d);
-    (void)access; // avoid compiler warrnings
     if (found) {
         return 0;
     } else {
@@ -1915,20 +1905,12 @@ int maccess_reg_mad(mfile *mf, u_int8_t *data)
 
 int mos_reg_access(mfile *mf, int reg_access, void *reg_data, u_int32_t cmd_type)
 {
-    (void)mf;
-    (void)reg_data; /* compiler warning */
-    (void)cmd_type; /* compiler warning */
-    (void)reg_access; /* compiler warning */
     fprintf(stderr, "Warning: libmtcr: mos_reg_access() is not implemented and has no effect.\n");
     return ME_NOT_IMPLEMENTED;
 }
 
 int maccess_reg_cmdif(mfile *mf, reg_access_t reg_access, void *reg_data, u_int32_t cmd_type)
 {
-    (void)mf;
-    (void)reg_data; /* compiler warning */
-    (void)cmd_type; /* compiler warning */
-    (void)reg_access; /* compiler warning */
     fprintf(stderr, "Warning: libmtcr: maccess_reg_cmdif() is not implemented and has no effect.\n");
     return ME_NOT_IMPLEMENTED;
 }
small_utils/mcra.c +0 -1
index 2fc9a30..85b30a1 100644
@@ -112,7 +112,6 @@ int main(int argc, char *argv[])
     }
     exit(0);
 #endif
-    (void)rc; // avoid warnings (we dont use it just assign)
     // Parse cmd line:
     if (argc < 2) {
         usage(argv[0], 1);
tools_layouts/cibfw_layouts.c +0 -249

543 lines not on this page · raw message

tools_layouts/connectib_layouts.c +0 -32
index 9b72bb4..c15d850 100644
@@ -34,11 +34,6 @@
 
 void connectib_FW_VERSION_pack(const struct connectib_FW_VERSION *ptr_struct, u_int8_t* ptr_buff){
     u_int32_t offset;
-    int i=0;
-    (void)offset;
-    (void)i;
-    (void)ptr_struct;
-    (void)ptr_buff;
 
     offset=0;
     adb2c_push_bits_to_buff(ptr_buff, offset, 16, (u_int32_t)ptr_struct->MAJOR);
@@ -71,13 +66,6 @@ void connectib_FW_VERSION_pack(const struct connectib_FW_VERSION *ptr_struct, u_
 
 void connectib_FW_VERSION_unpack(struct connectib_FW_VERSION *ptr_struct, const u_int8_t* ptr_buff){
     u_int32_t offset;
-    int i=0;
-    u_int8_t val=0;
-    (void)val;
-    (void)offset;
-    (void)i;
-    (void)ptr_struct;
-    (void)ptr_buff;
 
     offset=0;
     ptr_struct->MAJOR = (u_int16_t)adb2c_pop_bits_from_buff(ptr_buff, offset, 16);
@@ -111,10 +99,6 @@ void connectib_FW_VERSION_unpack(struct connectib_FW_VERSION *ptr_struct, const
 void connectib_FW_VERSION_print(const struct connectib_FW_VERSION *ptr_struct, FILE* file, int indent_level){
     adb2c_add_indentation(file, indent_level);
     fprintf(file, "======== connectib_FW_VERSION ========\n");
-    int i=0;
-    (void)i;(void)ptr_struct;
-    (void)file;
-    (void)indent_level;
 
     adb2c_add_indentation(file, indent_level);
     fprintf(file, "MAJOR                : "UH_FMT"\n", ptr_struct->MAJOR);
@@ -155,11 +139,6 @@ void connectib_FW_VERSION_dump(const struct connectib_FW_VERSION *ptr_struct, FI
 
 void connectib_icmd_get_fw_info_pack(const struct connectib_icmd_get_fw_info *ptr_struct, u_int8_t* ptr_buff){
     u_int32_t offset;
-    int i=0;
-    (void)offset;
-    (void)i;
-    (void)ptr_struct;
-    (void)ptr_buff;
 
     offset=0;
     connectib_FW_VERSION_pack(&(ptr_struct->fw_version), ptr_buff + offset/8);
@@ -171,13 +150,6 @@ void connectib_icmd_get_fw_info_pack(const struct connectib_icmd_get_fw_info *pt
 
 void connectib_icmd_get_fw_info_unpack(struct connectib_icmd_get_fw_info *ptr_struct, const u_int8_t* ptr_buff){
     u_int32_t offset;
-    int i=0;
-    u_int8_t val=0;
-    (void)val;
-    (void)offset;
-    (void)i;
-    (void)ptr_struct;
-    (void)ptr_buff;
 
     offset=0;
     connectib_FW_VERSION_unpack(&(ptr_struct->fw_version), ptr_buff + offset/8);
@@ -190,10 +162,6 @@ void connectib_icmd_get_fw_info_unpack(struct connectib_icmd_get_fw_info *ptr_st
 void connectib_icmd_get_fw_info_print(const struct connectib_icmd_get_fw_info *ptr_struct, FILE* file, int indent_level){
     adb2c_add_indentation(file, indent_level);
     fprintf(file, "======== connectib_icmd_get_fw_info ========\n");
-    int i=0;
-    (void)i;(void)ptr_struct;
-    (void)file;
-    (void)indent_level;
 
     adb2c_add_indentation(file, indent_level);
     fprintf(file, "fw_version:\n");
tools_layouts/cx4fw_layouts.c +0 -95

209 lines not on this page · raw message

tools_layouts/register_access_open_layouts.c +0 -49

109 lines not on this page · raw message

tools_layouts/register_access_sib_layouts.c +0 -97

211 lines not on this page · raw message

tools_layouts/tools_open_layouts.c +0 -895

1,116 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 6 lines
2.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Part of the diff is not shown here. View the raw message.

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 4 lines · Bart Van Assche

Recent gcc versions emit a warning if a variable is set but not used. Suppress these warnings by removing dummy assignments to unused arguments. Additionally, enable the compiler command-line option -Wno-unused-parameter and remove the '(void)arg' statements that thereby became superfluous.

(replying to my own e-mail)

Hello Adrian,

Apparently this patch has not yet been applied? Please let me know if I should send it to another person.

Thanks,

Bart.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): b391e823-3df3-b61d-5851-d03db3fe9bd8-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#4 lore raw

VGhpcyBwYXRjaCB3YXMgbm90IGFwcGxpZWQsIGR1ZSB0byBpbnRlcm5hbCByZWFzb25zLg0KDQoN ClRoYW5rcywNCglBZHJpYW4uDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBC YXJ0IFZhbiBBc3NjaGUgW21haWx0bzpiYXJ0LnZhbmFzc2NoZUBnbWFpbC5jb21dIA0KU2VudDog V2VkbmVzZGF5LCBBdWd1c3QgMTcsIDIwMTYgNDoyOCBBTQ0KVG86IEFkcmlhbiBDaGlyaXMgPGFk cmlhbmNAbWVsbGFub3guY29tPg0KQ2M6IGxpbnV4LXJkbWEgPGxpbnV4LXJkbWFAdmdlci5rZXJu ZWwub3JnPg0KU3ViamVjdDogUmU6IFtQQVRDSCwgbXN0ZmxpbnRdIEZpeCBjb21waWxlciB3YXJu aW5ncyBhYm91dCBzZXQtYnV0LW5vdC11c2VkIHZhcmlhYmxlcw0KDQpPbiAwNS8yMi8xNiAxMTow NSwgQmFydCBWYW4gQXNzY2hlIHdyb3RlOg0KPiBSZWNlbnQgZ2NjIHZlcnNpb25zIGVtaXQgYSB3 YXJuaW5nIGlmIGEgdmFyaWFibGUgaXMgc2V0IGJ1dCBub3QgdXNlZC4NCj4gU3VwcHJlc3MgdGhl c2Ugd2FybmluZ3MgYnkgcmVtb3ZpbmcgZHVtbXkgYXNzaWdubWVudHMgdG8gdW51c2VkIGFyZ3Vt ZW50cy4NCj4gQWRkaXRpb25hbGx5LCBlbmFibGUgdGhlIGNvbXBpbGVyIGNvbW1hbmQtbGluZSBv cHRpb24gDQo+IC1Xbm8tdW51c2VkLXBhcmFtZXRlciBhbmQgcmVtb3ZlIHRoZSAnKHZvaWQpYXJn JyBzdGF0ZW1lbnRzIHRoYXQgdGhlcmVieSBiZWNhbWUgc3VwZXJmbHVvdXMuDQoNCihyZXBseWlu ZyB0byBteSBvd24gZS1tYWlsKQ0KDQpIZWxsbyBBZHJpYW4sDQoNCkFwcGFyZW50bHkgdGhpcyBw YXRjaCBoYXMgbm90IHlldCBiZWVuIGFwcGxpZWQ/IFBsZWFzZSBsZXQgbWUga25vdyBpZiBJIHNo b3VsZCBzZW5kIGl0IHRvIGFub3RoZXIgcGVyc29uLg0KDQpUaGFua3MsDQoNCkJhcnQuDQo= --
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html