Skip to contentSkip to conversation

linux-next: build warnings after merge of the staging tree

DISCUSSION Stephen Rothwell 2 participants 4 messages May 29, 2015 – Jun 20, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Greg,

After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced a large number of warnings in drivers/staging/wilc1000.

like:

drivers/staging/wilc1000/wilc_wfi_cfgoperations.c: At top level:
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c:4184:2: warning: initialization from incompatible pointer type
.add_station = WILC_WFI_add_station,
^
drivers/staging/wilc1000/linux_wlan.c: In function 'mac_open':
drivers/staging/wilc1000/linux_wlan.c:2140:51: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]

    g_linux_wlan->strInterfaceInfo[i].drvHandler = (WILC_Uint32)priv->hWILCWFIDrv;
                                                   ^
drivers/staging/wilc1000/host_interface.c:708:59: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  s32Error = SendConfigPkt(SET_CFG, &strWID, 1, WILC_TRUE, (WILC_Uint32)pstrWFIDrv);
                                                           ^
Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw

Hi Greg,

Quoted 4 lines · On Fri, 29 May 2015 20:40:02 +1000 Stephen Rothwell <[email protected]>…

After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced a large number of warnings in drivers/staging/wilc1000.

Since there are so many warnings, I have disabled the driver for now.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#2 lore raw

Hi Greg,

Quoted 8 lines · On Mon, 1 Jun 2015 18:50:12 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 4 lines · On Fri, 29 May 2015 20:40:02 +1000 Stephen Rothwell <[email protected]>…

After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced a large number of warnings in drivers/staging/wilc1000.

Since there are so many warnings, I have disabled the driver for now.

I tried building this with the driver enabled but it still produces and inordinate number of warnings, so I have disabled it again. Please either get them sorted out or disable this driver before asking Linus to merge it.

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#3 lore raw
Quoted 10 lines · Stephen Rothwell

Hi Greg,

Quoted 7 lines · On Mon, 1 Jun 2015 18:50:12 +1000 Stephen Rothwell <[email protected]> wrote:
Quoted 4 lines · On Fri, 29 May 2015 20:40:02 +1000 Stephen Rothwell <[email protected]>…

After merging the staging tree, today's linux-next build (x86_64 allmodconfig) produced a large number of warnings in drivers/staging/wilc1000.

Quoted 6 lines
Quoted 1 line

Since there are so many warnings, I have disabled the driver for now.

I tried building this with the driver enabled but it still produces and inordinate number of warnings, so I have disabled it again. Please either get them sorted out or disable this driver before asking Linus to merge it.

Yeah, I know, I keep asking the driver authors for fixes, but nothing has shown up yet except cosmetic changes. I'm going to disable it as no one seems willing to do the work, which is sad.

greg k-h