Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp90621pxb; Thu, 30 Sep 2021 01:40:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzYL/S2b4IJRZzZYOfd038rF4Es7zka6Y6DBCxEd+ke38f1cGM1ThpEyyRMqP+/7iS5SyE4 X-Received: by 2002:a17:906:3fd7:: with SMTP id k23mr5327067ejj.176.1632991214705; Thu, 30 Sep 2021 01:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632991214; cv=none; d=google.com; s=arc-20160816; b=N+33jXGAfF4pzu7eF44Jmlc9RVu001SqYSoCEZTzfOgqNPohgm35bjbmbqcf1XN3mU vomAN2R9Q4jx7olZ37weIa1fC3h6UkKbJ/Eyy+3CDnmbH5LPdCU+YXPAADOJ7T/tucE9 kp0Lgaw0E+VeWLKaMaoMvX3yPLifixyk/3Ljm9FbU5ySRPUUa6Q+23mwRSgPNZgJle3k 4XdYEjFOKU0YeF3XRBtYachVC36MZUXgOxr8hypbhw0T3I5qrzXhkG1hRSfjemhG1h0m pC+9x/pi9aBera2zKTzwpMr/NDsW1cBZUzTj9VDeFHGX0vmdVEm/okZ/rh9XZsRX2o8X kb1g== 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; bh=4ONHyG44w0VcHPF7GRKfvPeJpHQRKFGdW+97JTxGzcA=; b=Xprv9fcL8nIDsfjRcUuIPsPKBH5K7dEEhwiVjccs9QPfuh9vprheuPhmeb0+QtuRex K2MIAcaBNAhHVh7iEqZpGqLJtS4TQwK/oIkrdYRFFV4x5LhqjSyVF5HIUCFgoM/WS1f5 rA23IYbthXmBXtoN8UaTzxVBs0aejRL2UoYFeEPZBUzyj0lo7AOvdrGnslkDONyMDh9K JGBonJvC00S0BYPeq90+bNVmxz7z0AkDchWm1gbmxuh6UxuM7+yTXo50a7udtvxaA77U bKk70+B23K+WVnMRTrR/v7h+IdxkqAUPS7/+HpLxMciBWEB/iVPMbPkHqGkZib8ygMl+ Jq5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 7si2577793ejd.0.2021.09.30.01.39.49; Thu, 30 Sep 2021 01:40:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348480AbhI3If3 (ORCPT + 99 others); Thu, 30 Sep 2021 04:35:29 -0400 Received: from muru.com ([72.249.23.125]:39088 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348460AbhI3If1 (ORCPT ); Thu, 30 Sep 2021 04:35:27 -0400 Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 358BC8050; Thu, 30 Sep 2021 08:34:14 +0000 (UTC) Date: Thu, 30 Sep 2021 11:33:43 +0300 From: Tony Lindgren To: kernel test robot Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org Subject: Re: drivers/tty/serial/serial_core.c:621 uart_write_room() warn: unsigned 'ret' is never less than zero. Message-ID: References: <202109281901.W4GmIDOG-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202109281901.W4GmIDOG-lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * kernel test robot [210928 11:48]: > tree: https://github.com/0day-ci/linux/commits/Tony-Lindgren/Get-rid-of-pm_runtime_irq_safe-for-8250_omap/20210922-152808 > head: 4456f28c1932b70461a0d8c45d4e863fa9d1be29 > commit: 3c7e2a8d4353263d8c5607fc7eca5e4b009f45eb serial: core: Add new prep_tx for power management > date: 6 days ago > config: i386-randconfig-m021-20210927 (attached as .config) > compiler: gcc-9 (Debian 9.3.0-22) 9.3.0 > > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > > New smatch warnings: > drivers/tty/serial/serial_core.c:621 uart_write_room() warn: unsigned 'ret' is never less than zero. > > Old smatch warnings: > drivers/tty/serial/serial_core.c:308 uart_shutdown() error: we previously assumed 'uport' could be null (see line 304) > drivers/tty/serial/serial_core.c:329 uart_shutdown() error: uninitialized symbol 'flags'. > drivers/tty/serial/serial_core.c:2753 iomem_base_show() warn: argument 3 to %lX specifier is cast from pointer FYI, this patch is no longer needed, updated series posted at [0] below. Thanks, Tony [0] https://lore.kernel.org/linux-kernel/20210930062906.58937-1-tony@atomide.com/T/#m8aa4dc5d38218d17c652d45d3611fc8a696b96c1