From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753482AbcADMXB (ORCPT ); Mon, 4 Jan 2016 07:23:01 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:26001 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751455AbcADMW6 (ORCPT ); Mon, 4 Jan 2016 07:22:58 -0500 Date: Mon, 4 Jan 2016 15:22:49 +0300 From: Dan Carpenter To: Samuel Thibault , William Hubbs , Chris Brannon , Kirk Reiser , Greg Kroah-Hartman , speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Staging: speakup: Fix getting port information Message-ID: <20160104122249.GJ5284@mwanda> References: <20160102232529.GC2860@var.home> <15457.1451779836@ccs.covici.com> <20160103005620.GM2860@var.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160103005620.GM2860@var.home> User-Agent: Mutt/1.5.21 (2010-09-15) X-Source-IP: userv0021.oracle.com [156.151.31.71] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jan 03, 2016 at 01:56:20AM +0100, Samuel Thibault wrote: > covici@ccs.covici.com, on Sat 02 Jan 2016 19:10:36 -0500, wrote: > > I had a patch which also worked, but yours may be better -- I enclose it > > here for your information. > > Well, it's not up to serialio.h to include things for serialio.c. That > however makes me realize that the culprit is actually > f79b0d9 (which actually doesn't make much sense since linux/serial.h is > getting included a couple of lines above...). CC the guilty. Also we have a Fixes tag. Please use it. > > I don't know what this "use instead " > warning is about, but *no* header in include/ includes asm/serial.h, so > there is no way to get the SERIAL_PORT_DFNS definition just by including > linux/serial.h, we really need asm/serial.h, just like 8250*.c do. > > So we really need serialio.c to include linux/serial_core.h then > asm/serial.h, as my patch does. Ah... Ok. regards, dan carpenter