From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031952Ab2COQxP (ORCPT ); Thu, 15 Mar 2012 12:53:15 -0400 Received: from 1wt.eu ([62.212.114.60]:63329 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031805Ab2COQxN (ORCPT ); Thu, 15 Mar 2012 12:53:13 -0400 Date: Thu, 15 Mar 2012 17:49:54 +0100 From: Willy Tarreau To: Greg KH Cc: Jiri Slaby , linux-kernel@vger.kernel.org, Andrew Morton , torvalds@linux-foundation.org, stable@vger.kernel.org, lwn@lwn.net, Heiko Carstens , Jiri Slaby Subject: Re: stable-3.0: s390 build breakage [was: Linux 3.0.24] Message-ID: <20120315164954.GR2264@1wt.eu> References: <20120312203451.GA16773@kroah.com> <4F61C911.5010204@suse.cz> <4F62186E.4050806@suse.cz> <20120315164624.GB25159@kroah.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120315164624.GB25159@kroah.com> User-Agent: Mutt/1.4.2.3i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 15, 2012 at 09:46:24AM -0700, Greg KH wrote: > On Thu, Mar 15, 2012 at 05:27:26PM +0100, Jiri Slaby wrote: > > On 03/15/2012 11:48 AM, Jiri Slaby wrote: > > > On 03/12/2012 09:34 PM, Greg KH wrote: > > >> I'm announcing the release of the 3.0.24 kernel. > > > ... > > >> Heiko Carstens (1): compat: fix compile breakage on s390 > > > > > > It looks like we need the same fix as for 2.6.32.59: > > > arch/s390/kernel/setup.c: In function 'setup_addressing_mode': > > > arch/s390/kernel/setup.c:328: error: 'PSW32_ASC_PRIMARY' undeclared > > > (first use in this function) > > > arch/s390/kernel/setup.c:328: error: (Each undeclared identifier is > > > reported only once > > > arch/s390/kernel/setup.c:328: error: for each function it appears in.) > > > > And when that one is fixed, there is another error: > > drivers/s390/char/fs3270.c: In function 'fs3270_ioctl': > > drivers/s390/char/fs3270.c:335: error: implicit declaration of function > > 'compat_ptr' > > drivers/s390/char/fs3270.c:335: warning: assignment makes pointer from > > integer without a cast > > Ick, have a patch for this? This one is declared in arch/s390/include/asm/compat.h: static inline void __user *compat_ptr(compat_uptr_t uptr) { return (void __user *)(unsigned long)(uptr & 0x7fffffffUL); } In 2.6.32, fs3270.c include linux/compat.h. In 3.0 it includes asm/compat.h instead. I would have thought the later would have been enough. Hoping this helps, Willy