From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F829ECDE5F for ; Mon, 23 Jul 2018 09:03:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 1019620846 for ; Mon, 23 Jul 2018 09:03:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1019620846 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388090AbeGWKDc (ORCPT ); Mon, 23 Jul 2018 06:03:32 -0400 Received: from mga17.intel.com ([192.55.52.151]:19955 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388035AbeGWKDb (ORCPT ); Mon, 23 Jul 2018 06:03:31 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Jul 2018 02:03:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,393,1526367600"; d="scan'208";a="73669393" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.86]) by fmsmga004.fm.intel.com with ESMTP; 23 Jul 2018 02:03:17 -0700 Message-ID: <769fd35a95a6918faaee8403510ff6aff59431e7.camel@linux.intel.com> Subject: Re: linux-next: build warning after merge of the tty tree From: Andy Shevchenko To: Stephen Rothwell , Greg KH Cc: Linux-Next Mailing List , Linux Kernel Mailing List Date: Mon, 23 Jul 2018 12:03:17 +0300 In-Reply-To: <20180723153914.563af11c@canb.auug.org.au> References: <20180723153914.563af11c@canb.auug.org.au> Organization: Intel Finland Oy Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-07-23 at 15:39 +1000, Stephen Rothwell wrote: > Hi Greg, > > After merging the tty tree, today's linux-next build (arm > multi_v7_defconfig) produced this warning: > > drivers/tty/serial/8250/8250_exar.c: In function 'pci_xr17v35x_setup': > drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable > 'board' [-Wunused-variable] > const struct exar8250_board *board = priv->board; > ^~~~~ > > Introduced by commit > > 328c11f24b57 ("serial: 8250_exar: Remove useless has_slave member") Oops, my fault. Usually I compile with W=1, but I somehow missed this warning (Okay, found, I used to have it in another patch). Sorry, the just sent patch should fix it. -- Andy Shevchenko Intel Finland Oy