Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp527244rdb; Sat, 16 Dec 2023 21:18:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdJwBhb3raZu+G32fnw/l/yTwBW7tq2gmW8SIBtXI7u5mJk2lGMGI18JLRQICvJWsPvNWa X-Received: by 2002:a17:902:780a:b0:1d3:95ea:1e8d with SMTP id p10-20020a170902780a00b001d395ea1e8dmr2019897pll.27.1702790313389; Sat, 16 Dec 2023 21:18:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702790313; cv=none; d=google.com; s=arc-20160816; b=WrBA9svDsY7h0kVZ+/GZFVv2aCBjjh4dJwAmWUfmD0AxyCcv0Q269ff3QphJgGk9pd wWOkLmw8BagfVofnw+DkWz4p0rgbQaifV0Q98OIlE1k03T3TFAA2lFRuPZuZq6E8zORU zxuO0xPJy+d9U56Q77hk3Ci0YL/iANK14EhbDKqF1ocYeAVeGyDD4IkUVqEYvh/MP6tN Evo6ySllH4HfdoZ9JuJqpr83o4H18FZbBD/mQuULAiAfXSGLaGk4Ezklmc7gXqqcgP9B iD7CqvUIqlAbAQO67Ly0cPgmwPLv6rxeHeh4oJUi9WMNAFDtES/8hpyJvPWNPKgi/O4I XUKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=UtUaX9Zix7uWSXkEtRBJTzeN05dCme6W+kBPovQngKI=; fh=luqDOB4ZY1l94bOxuNNZlbf7Aoh0JSKrNbYZhEzERfc=; b=A8K3v8qrl8By7HTYmVlZLJiXuA6Q66yZGDVZk/Ui7aQvYKBXR7jGO2hOGRsgOBe6Ml bJN48CmS+fUf2vN1mMCBpLROl5qC6Hkh4N9jsn9OkNDclTUpi1RGZzuO9wC+gd2DKqHu UfGJF03QNscUyw8K97rnZ+RO4YurV4B8qTmT+aNUbmbj03SczAKSVqckyzX3ajQ+nojA 9y6oDO6OfMJ9dv8La7Au0/2tM1zCQ3BW9vFCO/ETF5GQP4lWN3uby74pXBgIEdC9Mmtl PvFpEIKJMDEQrzxMYe9VANgKvLZ1M9i6jXtkr/YgmqGVJcDZWnmVN5NCXAE1JPbXWFZ/ mkRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RkmC4l+X; spf=pass (google.com: domain of linux-kernel+bounces-2475-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2475-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id i5-20020a170902c94500b001d38aadd6f0si3512809pla.338.2023.12.16.21.18.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 21:18:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2475-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=RkmC4l+X; spf=pass (google.com: domain of linux-kernel+bounces-2475-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2475-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 0CDAB281A79 for ; Sun, 17 Dec 2023 05:18:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4822417F9; Sun, 17 Dec 2023 05:18:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="RkmC4l+X" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B62FD1374; Sun, 17 Dec 2023 05:18:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702790305; x=1734326305; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PPSkO0bQFhCKhK6lVott3/8pp9aqVOo3T+bZ0TjgAp4=; b=RkmC4l+XBKfMPnr0LjOVPhwxlhQLV+FiCOY3+hqxez5vwxUwLkJaG2Tu q+km+IPr0UkGtt0ktVe4wRLmxVvOQlQ6OWowbhbktfcuNsP4wPfP9rMvn uQbTb0JxdotDXXbvq9KmVrHGjeV/Ppa9lieYQef6d9guQObEyVgeST4Jn uC9RY/A5Q/NskKkkMRdXKuipHMnBA71FoOtScgVaPx/TPaXK49ROjjjGE hNF4MmmaIw+ciaWPftER8928CBcDXqntLn9BRYEwYqmFw74zqBIqc+w98 JE/Zjuhc7ncQAnL6aHFT0O1PZS2140puf2oCjm0Rk4P+WpWAa9wsNf3Bk g==; X-IronPort-AV: E=McAfee;i="6600,9927,10926"; a="2240103" X-IronPort-AV: E=Sophos;i="6.04,282,1695711600"; d="scan'208";a="2240103" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orvoesa103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Dec 2023 21:18:25 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10926"; a="804157025" X-IronPort-AV: E=Sophos;i="6.04,282,1695711600"; d="scan'208";a="804157025" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by orsmga008.jf.intel.com with ESMTP; 16 Dec 2023 21:18:21 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rEjXe-0002gc-2Q; Sun, 17 Dec 2023 05:18:18 +0000 Date: Sun, 17 Dec 2023 13:17:50 +0800 From: kernel test robot To: Michael Trimarchi Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, daniel.thompson@linaro.org, dianders@chromium.org, gregkh@linuxfoundation.org, jason.wessel@windriver.com, jirislaby@kernel.org, kgdb-bugreport@lists.sourceforge.net, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH] tty: serial: kgdboc: Fix 8250_* kgd over serial Message-ID: <202312171302.vjOAqLOI-lkp@intel.com> References: <20231216173409.1264655-1-michael@amarulasolutions.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231216173409.1264655-1-michael@amarulasolutions.com> Hi Michael, kernel test robot noticed the following build errors: [auto build test ERROR on tty/tty-testing] [also build test ERROR on tty/tty-next tty/tty-linus linus/master v6.7-rc5 next-20231215] [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/Michael-Trimarchi/tty-serial-kgdboc-Fix-8250_-kgd-over-serial/20231217-013726 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git tty-testing patch link: https://lore.kernel.org/r/20231216173409.1264655-1-michael%40amarulasolutions.com patch subject: [PATCH] tty: serial: kgdboc: Fix 8250_* kgd over serial config: i386-buildonly-randconfig-003-20231217 (https://download.01.org/0day-ci/archive/20231217/202312171302.vjOAqLOI-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231217/202312171302.vjOAqLOI-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/202312171302.vjOAqLOI-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/tty/serial/serial_core.c:2636:26: error: expression is not assignable if (!port || port->type = PORT_UNKNOWN || !(port->ops->poll_get_char && port->ops->poll_put_char)) { ~~~~~~~~~~~~~~~~~~~ ^ 1 error generated. vim +2636 drivers/tty/serial/serial_core.c 2618 2619 static int uart_poll_init(struct tty_driver *driver, int line, char *options) 2620 { 2621 struct uart_driver *drv = driver->driver_state; 2622 struct uart_state *state = drv->state + line; 2623 enum uart_pm_state pm_state; 2624 struct tty_port *tport; 2625 struct uart_port *port; 2626 int baud = 9600; 2627 int bits = 8; 2628 int parity = 'n'; 2629 int flow = 'n'; 2630 int ret = 0; 2631 2632 tport = &state->port; 2633 mutex_lock(&tport->mutex); 2634 2635 port = uart_port_check(state); > 2636 if (!port || port->type = PORT_UNKNOWN || !(port->ops->poll_get_char && port->ops->poll_put_char)) { 2637 ret = -1; 2638 goto out; 2639 } 2640 2641 pm_state = state->pm_state; 2642 uart_change_pm(state, UART_PM_STATE_ON); 2643 2644 if (port->ops->poll_init) { 2645 /* 2646 * We don't set initialized as we only initialized the hw, 2647 * e.g. state->xmit is still uninitialized. 2648 */ 2649 if (!tty_port_initialized(tport)) 2650 ret = port->ops->poll_init(port); 2651 } 2652 2653 if (!ret && options) { 2654 uart_parse_options(options, &baud, &parity, &bits, &flow); 2655 console_list_lock(); 2656 ret = uart_set_options(port, NULL, baud, parity, bits, flow); 2657 console_list_unlock(); 2658 } 2659 out: 2660 if (ret) 2661 uart_change_pm(state, pm_state); 2662 mutex_unlock(&tport->mutex); 2663 return ret; 2664 } 2665 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki