tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git usermode_ro head: 00ed986b7a8fbb11b0c154e8dda5ee7c5ea48a43 commit: d57c93cde22bd5ec716de09bf84ae8576adf5e64 [3/4] Make static usermode helper binaries constant config: i386-randconfig-x011-201650 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout d57c93cde22bd5ec716de09bf84ae8576adf5e64 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/staging/rtl8192e/rtl8192e/rtl_dm.c: In function '_rtl92e_dm_check_ac_dc_power': >> drivers/staging/rtl8192e/rtl8192e/rtl_dm.c:272:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] char *argv[] = {ac_dc_script, DRV_NAME, NULL}; ^~~~~~~~~~~~ vim +/const +272 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c 3f3173c2 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 256 _rtl92e_dm_check_tx_power_tracking(dev); 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 257 713519c7 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 258 _rtl92e_dm_ctrl_initgain_byrssi(dev); d4244a03 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 259 _rtl92e_dm_bandwidth_autoswitch(dev); 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 260 6ff54257 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 261 _rtl92e_dm_check_rx_path_selection(dev); e63b7561 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 262 _rtl92e_dm_check_fsync(dev); 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 263 500344fd drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 264 _rtl92e_dm_send_rssi_to_fw(dev); dab9eef4 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 265 _rtl92e_dm_cts_to_self(dev); 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 266 } 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 267 babb55f9 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-09-20 268 static void _rtl92e_dm_check_ac_dc_power(struct net_device *dev) 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 269 { 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 270 struct r8192_priv *priv = rtllib_priv(dev); d57c93cd drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Greg Kroah-Hartman 2016-12-11 271 static const char *ac_dc_script = "/etc/acpi/wireless-rtl-ac-dc-power.sh"; 35e33b04 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Mateusz Kulikowski 2015-05-31 @272 char *argv[] = {ac_dc_script, DRV_NAME, NULL}; 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 273 static char *envp[] = {"HOME=/", 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 274 "TERM=linux", 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 275 "PATH=/usr/bin:/bin", 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 276 NULL}; 94a79942 drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-23 277 b448b0cc drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-25 278 if (priv->ResetProgress == RESET_TYPE_SILENT) { b448b0cc drivers/staging/rtl8192e/rtl_dm.c Larry Finger 2011-08-25 279 RT_TRACE((COMP_INIT | COMP_POWER | COMP_RF), db2c8da0 drivers/staging/rtl8192e/rtl8192e/rtl_dm.c Masanari Iida 2012-08-10 280 "GPIOChangeRFWorkItemCallBack(): Silent Reset!!!!!!!\n"); :::::: The code at line 272 was first introduced by commit :::::: 35e33b0468ab3b3f5b610bfa4fc9367a3b7c09a8 staging: rtl8192e: Fix LONG_LINE warnings :::::: TO: Mateusz Kulikowski <mateusz.kulikowski@xxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel