Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4219938ybi; Mon, 27 May 2019 13:40:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqzmGubcRfGdbO3JkeIwWLy4uuWmFnKFak3YCnN9yk7MSlmwvnZO5loD5ouMiE5rrBRKwB1Y X-Received: by 2002:a62:e205:: with SMTP id a5mr100761109pfi.40.1558989601116; Mon, 27 May 2019 13:40:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558989601; cv=none; d=google.com; s=arc-20160816; b=nMPs51ekfUOiy3KbGhwECvPpB9xhWIUDbq6k+sRD1736UsVI8H8hoCYhYYl0As1cDa LdafdohebBKl15QBQT837HwcAeehtjIacJA+gYHf6tGHtmhGZNBZk3qeNzVRBSd2cZZa yuF2D1QGpoVRB0fyelhvvzKhoKJOS0vJRuXflwvn6tXtUHP9K7V2QYHJTr0MVzfGqLYG bUjoUkhZi6ED2wisXp1xWCRBDosCo5vrC802kpKLl1pzj3UXeVs8KmXS9RPgf4a176KJ DtU0xSU5mL8vjsyFPZLcG3VT1N9NixaWc9fu/XHnW2swLVF9QTDWss3IIqzndKe0LwxJ npjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date; bh=ss3KEBqlpDaB05mcIt8zUGFA/9hA65SJzA3+Fap6/IE=; b=PYpeER+WG9nVpIwxhJPqR8u3qfpegQHR042weTewmNduPyoo2DsMeP1i/GDk9Wlw4H heeorbrDr9Gk1XnTiEVHTrCoyEi34Iq1WlXW8wBlEfO2KroQ+cQ6WwmytETkiHLRtBcw RXEaxLufXbHgLtPtqE+ZDJo+kf5gS02quo1XfLobf8bIYmEp83kEeLnhcXALFXyIlWKq qiZMYCg/VP52M6yi0fVr30x/YPBX111fI8enNPkf6R3sKu5t/lJuARLQsXGMt3NpOshJ UrEhn9MwrUI2cSoJ588f2CZZ8f5IDx2Auq9YuseukixrsXNGNMbJVWqLTms1f1T4qFfS eOhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u9si20954816pfn.253.2019.05.27.13.39.45; Mon, 27 May 2019 13:40:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727089AbfE0U2Y (ORCPT + 99 others); Mon, 27 May 2019 16:28:24 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50826 "EHLO hera.aquilenet.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726346AbfE0U2X (ORCPT ); Mon, 27 May 2019 16:28:23 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 20C932ED4; Mon, 27 May 2019 22:28:22 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GaWlTzEBuJG2; Mon, 27 May 2019 22:28:21 +0200 (CEST) Received: from function (105.251.129.77.rev.sfr.net [77.129.251.105]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 3E6AE1969; Mon, 27 May 2019 22:28:21 +0200 (CEST) Received: from samy by function with local (Exim 4.92) (envelope-from ) id 1hVMEF-00042b-Nw; Mon, 27 May 2019 22:28:19 +0200 Date: Mon, 27 May 2019 22:28:19 +0200 From: Samuel Thibault To: Hariprasad Kelam Cc: 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] drivers: staging: speakup: serialio: fix warning linux/serial.h is included more than once Message-ID: <20190527202819.mh635ht2jf4ku7rl@function> Mail-Followup-To: Samuel Thibault , Hariprasad Kelam , William Hubbs , Chris Brannon , Kirk Reiser , Greg Kroah-Hartman , speakup@linux-speakup.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org References: <20190526071322.GA3830@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190526071322.GA3830@hari-Inspiron-1545> Organization: I am not organized User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hariprasad Kelam, le dim. 26 mai 2019 12:43:22 +0530, a ecrit: > fix below warning reported by includecheck > > ./drivers/staging/speakup/serialio.h: linux/serial.h is included more > than once. > > Signed-off-by: Hariprasad Kelam That was indeed the result of f79b0d9c223ca09cefffc72304a7bcbc401a1c6f ("staging: speakup: Fixed warning instead of ") which didn't take care of the inclusion above. I believe only is fine, the important part is in drivers/staging/speakup/serialio.c which really needs to include asm/serial.h to get SERIAL_PORT_DFNS Reviewed-by: Samuel Thibault > --- > drivers/staging/speakup/serialio.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/staging/speakup/serialio.h b/drivers/staging/speakup/serialio.h > index aa691e4..6f8f86f 100644 > --- a/drivers/staging/speakup/serialio.h > +++ b/drivers/staging/speakup/serialio.h > @@ -4,9 +4,6 @@ > > #include /* for rs_table, serial constants */ > #include /* for more serial constants */ > -#ifndef __sparc__ > -#include > -#endif > #include > > #include "spk_priv.h" > -- > 2.7.4 > -- Samuel > No manual is ever necessary. May I politely interject here: BULLSHIT. That's the biggest Apple lie of all! (Discussion in comp.os.linux.misc on the intuitiveness of interfaces.)