From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753724AbcEUFjp (ORCPT ); Sat, 21 May 2016 01:39:45 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:57076 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753627AbcEUFji (ORCPT ); Sat, 21 May 2016 01:39:38 -0400 Date: Fri, 20 May 2016 22:39:37 -0700 From: Greg KH To: Linus Torvalds Cc: William Breathitt Gray , Andrew Morton , Linux Kernel Mailing List Subject: Re: [GIT PULL] Driver core update for 4.7-rc1 Message-ID: <20160521053937.GA31102@kroah.com> References: <20160521032350.GA6595@kroah.com> <20160521050438.GA9445@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 20, 2016 at 10:20:19PM -0700, Linus Torvalds wrote: > On Fri, May 20, 2016 at 10:04 PM, Greg KH wrote: > > > > What warnings? I haven't seen any reports of warnings, what .config > > causes them? > > There's tons of them if you just do an allmodconfig build. > > This suddenly enables a lot of random 16-bit ISA driver crap on > x86-64, and not surprisingly it doesn't build cleanly, nor can most of > those drivers work. > > I'll just put a smattering of the warnings at the bottom, it scrolls > off the screen. > > These really are drivers that should not have been enabled. They are > legacy crap, it's not worth anybodys time to try to "fix" them, they > just shouldn't be on. > > Linus > > --- > > drivers/ide/ht6560b.c: In function ‘ht6560b_init_dev’: > drivers/ide/ht6560b.c:317:27: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > ide_set_drivedata(drive, (void *)t); > ^ > drivers/ide/qd65xx.c: In function ‘qd6500_init_dev’: > drivers/ide/qd65xx.c:295:27: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > ide_set_drivedata(drive, (void *)QD6500_DEF_DATA); > ^ > drivers/ide/qd65xx.c: In function ‘qd6580_init_dev’: > drivers/ide/qd65xx.c:311:27: warning: cast to pointer from integer of > different size [-Wint-to-pointer-cast] > ide_set_drivedata(drive, (void *)((drive->dn & 1) ? t2 : t1)); > ^ > drivers/net/ethernet/3com/3c515.c: In function ‘corkscrew_start_xmit’: > drivers/net/ethernet/3com/3c515.c:1066:8: warning: cast from pointer > to integer of different size [-Wpointer-to-int-cast] > outl((int) (skb->data), ioaddr + Wn7_MasterAddr); > ^ > drivers/net/ethernet/amd/ni65.c: In function ‘ni65_stop_start’: > drivers/net/ethernet/amd/ni65.c:756:16: warning: cast from pointer to > integer of different size [-Wpointer-to-int-cast] > buffer[i] = (u32) isa_bus_to_virt(tmdp->u.buffer); > ^ > drivers/rtc/rtc-ds1685.o: warning: objtool: ds1685_rtc_poweroff() > falls through to next function ds1685_rtc_work_queue() > drivers/net/wan/sdla.c: In function ‘sdla_transmit’: > drivers/net/wan/sdla.c:714:13: warning: cast to pointer from integer > of different size [-Wint-to-pointer-cast] > pbuf = (void *)(((int) dev->mem_start) + (addr & SDLA_ADDR_MASK)); > ^ This is odd, I just tried this, and I don't get any error for drivers/rtc/rtc-ds1685.c, nor any drivers/rtc/ file. But I get the warning for drivers/ide/qd65xx.c, so that's not good. Yeah, just revert it for now, let's not polute the build, sorry about this. thanks, greg k-h