Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp580612rdb; Tue, 5 Dec 2023 13:36:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IGNiY4jUaJ/d0IlTdNh4PAkQEM8hBBqLZIVbeqGhYcBU14FYjtqnHITBBx6wMfsZkM3jXmh X-Received: by 2002:a17:902:e80b:b0:1d0:9873:1b48 with SMTP id u11-20020a170902e80b00b001d098731b48mr3382778plg.80.1701812204989; Tue, 05 Dec 2023 13:36:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701812204; cv=none; d=google.com; s=arc-20160816; b=ETVgHHssGWiyG/1Lvpjj7pBqvO+wC9JkYF7PAqdzhKmDqQVv3t/Fv2UQ/+O99vC0qZ Fn0Cq4RLY5vwuggL1gCIiuoRlg0d1cHCPYrBaiUjbv2eCxeCaybJWWEYvkVYDV9uOhJ0 5iN66t8TsjV7e52e32afC4zUbvXjG4EaL2By0Apy1B9LkTClrnu/Sswc1PoXmFv1HmP1 X4IERkQ1xIQxQRH1u4eTWnxjUzId5AGOlhEO4lXizBBdeqNHVoiWs/HcTjrKqWoRkb7k /K65vhwukpXo+Z7ZtQ7jO6MLJS2MKaXxZyV5/WWyzLGJScvT9Nh9TOjLPMj3bPREcs2Y FXhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=a3/AMRR5xX1nb36YZHM+1ZOMGO/g4jJk3Uy0NO8dskY=; fh=0cx/DAWyr7FFszqVFXemB5o9K8sjUmf/Qs4XvHHxPVE=; b=igWyeHXiBvJirmSWabpFPp08XpEFam9QK35SFWWZca8eqYPJhfSd2MPqPD7IpoWrHt 5eavFxCjc5Z2XVwUmoY44pfb1oygRtZowXlBtR6eCn+KJYETSzG+bfYfg49mt8aJC3bM b9/kea6zBbBw6X/0op0c1z8ZpyI8/JGqpLwHOxg5lqcSL8B1std2Zvp4VYLCeX40f7Nf SjNkdbm9TQo8V9gzwJJCEO85HsAXZi1pYth51ELj/krEUHljyvbrTI9sdDFey8qx9POz Wq+6shL1EciGPm9CrTqmLEfhlqR6QtKRY6iGQ2HKmJy+GjmeZ9m4E8m6mv5p5TgkKTnz wGAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="H3JM/E9/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id h8-20020a170902ac8800b001d01ace7633si9116530plr.567.2023.12.05.13.36.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 13:36:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="H3JM/E9/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 16E84807E537; Tue, 5 Dec 2023 13:36:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229849AbjLEVfu (ORCPT + 99 others); Tue, 5 Dec 2023 16:35:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43242 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229591AbjLEVft (ORCPT ); Tue, 5 Dec 2023 16:35:49 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 962C6A5; Tue, 5 Dec 2023 13:35:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701812155; x=1733348155; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=NVTEi0xQy+3/V4ZhmZDOqyaynz26at0iHc609karX6U=; b=H3JM/E9/bcT41sGpsZ4TnZtFiYBfVE8UVYppPNCR5aWMiNXx+dQZLE7R XoSnvcQTqDL5sXCu/ThVhnvbU/wyti9w+bVBse5n93UbKkiGqSZFotZpy 6F5SvA9xQ6ToNvco285DfhZ4njZGkP8CkqgVGHeJ4a6WljSeuGJpQ+HDd 6++BVgUl+ERuIODb/Swvc8R5SGWmYCQorJL9cFzZu35LckhHK8HjzmX4O hho28x5vLHXeRQn43pwc2smp7hOXEWPpnHdLityh5koXN4MSANuVmmRac Cj0+xSUPSUkUU4wOT9SSNJuGoEf1ZNfnxixBWtfq+yklN1IYdTJIjkO4y w==; X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="391128794" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="391128794" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Dec 2023 13:35:55 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10915"; a="837084267" X-IronPort-AV: E=Sophos;i="6.04,253,1695711600"; d="scan'208";a="837084267" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga008.fm.intel.com with ESMTP; 05 Dec 2023 13:35:53 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rAd55-0009lG-0v; Tue, 05 Dec 2023 21:35:51 +0000 Date: Wed, 6 Dec 2023 05:35:26 +0800 From: kernel test robot To: Crescent CY Hsieh , Greg Kroah-Hartman , Jiri Slaby Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, Crescent CY Hsieh Subject: Re: [RESEND PATCH] tty: serial: 8250: Fix MOXA RS422/RS485 PCIe boards not work by default Message-ID: <202312060523.Kmstf65q-lkp@intel.com> References: <20231201074055.259207-1-crescentcy.hsieh@moxa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231201074055.259207-1-crescentcy.hsieh@moxa.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 05 Dec 2023 13:36:06 -0800 (PST) Hi Crescent, kernel test robot noticed the following build warnings: [auto build test WARNING on tty/tty-testing] [also build test WARNING on tty/tty-next tty/tty-linus usb/usb-testing usb/usb-next usb/usb-linus linus/master v6.7-rc4 next-20231205] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Crescent-CY-Hsieh/tty-serial-8250-Fix-MOXA-RS422-RS485-PCIe-boards-not-work-by-default/20231201-154322 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing patch link: https://lore.kernel.org/r/20231201074055.259207-1-crescentcy.hsieh%40moxa.com patch subject: [RESEND PATCH] tty: serial: 8250: Fix MOXA RS422/RS485 PCIe boards not work by default config: x86_64-randconfig-122-20231202 (https://download.01.org/0day-ci/archive/20231206/202312060523.Kmstf65q-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231206/202312060523.Kmstf65q-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202312060523.Kmstf65q-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/tty/serial/8250/8250_pci.c:2001:5: sparse: sparse: symbol 'pci_moxa_supported_rs' was not declared. Should it be static? vim +/pci_moxa_supported_rs +2001 drivers/tty/serial/8250/8250_pci.c 2000 > 2001 u32 pci_moxa_supported_rs(struct pci_dev *dev) 2002 { 2003 switch (dev->device & 0x0F00) { 2004 case 0x0000: 2005 case 0x0600: 2006 return MOXA_SUPP_RS232; 2007 case 0x0100: 2008 return MOXA_SUPP_RS232 | MOXA_SUPP_RS422 | MOXA_SUPP_RS485; 2009 case 0x0300: 2010 return MOXA_SUPP_RS422 | MOXA_SUPP_RS485; 2011 } 2012 return 0; 2013 } 2014 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki