Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1700603ybn; Thu, 26 Sep 2019 00:27:01 -0700 (PDT) X-Google-Smtp-Source: APXvYqxKbliQqsvTj+quiDupfDE3xg6m6/KNUa0e1gU3ykL+iAXWSH551gsx50pkh9fWL+RYQLa/ X-Received: by 2002:a17:906:52d8:: with SMTP id w24mr1807968ejn.6.1569482821594; Thu, 26 Sep 2019 00:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569482821; cv=none; d=google.com; s=arc-20160816; b=zw0mGJZgdd0M8N2/nsdxhJbBluk7jc93thWSFnUaFCkDdO0tixK/tOMwcYZsm0onTh mQc5JBXWsryd60iRUaLC7nknJAr7hDg6N6ENsI/+zPK2q+dtARcTO7KK9Lg0qMZbYK+q LejI4LC0MVsraMW++nR7Xk0s0ZvBky0oE6833br577ViP8IXVhGrvIKvcr6yT4uDfl1U oXBZ1UDHGfYbJHBEzKjHwHxpEzeEEH2TkNKH1aJeQm9H7SfL8ftoECvTExpt9TvW0jv3 i1Cu/M+qRzQHVy9Kra5FI1M2zaqJYCviJput99l5oHHcDKric+eFPczOkwAeigim1W5n Uldw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:organization:from:subject:cc:to :dkim-signature; bh=3p8PT/4DdGrSyR3ARdnCcVuRR4tJiOi2d40JrsPX0es=; b=VmJAdyi5qf55Iy01wA2CvyJTzU/0rVl173jfqzL6XSBM1QKGODcH9lyb9VIqyz1aPp +DavuhH4I3giEbhTjtCBp9Qt2cd8SspIJN9AkCp61bI1XWAuDldJr4hJ4cb6mqgrtGW8 sW6As6RcM9jTW0T97ha4a+lo08k0HSfnBFXjgQDFbwWdkGUXcQKGhn8whxnf2uZvUHDi duuuudYO/kweVH45XwdcDfZi5W1dLvTwrYh732Kx5HmPfKXknhVWN9b0pLX+gm5RPAsV jI3xhq2ERaJSIzS1LtKyXSHtqNbU63k1POzmsW+EqLnX+g9+0xTMeuXyIpX/WKfsR2C6 BE2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=qdKmzZOc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c54si785449edb.230.2019.09.26.00.26.37; Thu, 26 Sep 2019 00:27: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; dkim=pass header.i=@oracle.com header.s=corp-2019-08-05 header.b=qdKmzZOc; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392913AbfIXCco (ORCPT + 99 others); Mon, 23 Sep 2019 22:32:44 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:37552 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728089AbfIXCcn (ORCPT ); Mon, 23 Sep 2019 22:32:43 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x8O2TKqM067684; Tue, 24 Sep 2019 02:32:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=to : cc : subject : from : references : date : in-reply-to : message-id : mime-version : content-type; s=corp-2019-08-05; bh=3p8PT/4DdGrSyR3ARdnCcVuRR4tJiOi2d40JrsPX0es=; b=qdKmzZOcYX+EZHj2yd3EQhWnrOUPpAAOnS4X6LGEBsQe64FdISs8J8K5q9z+7eSlJJ37 cA4i/OGAL+AaZNDAn4xWNL7zitXzxZeYGmewfHeumeCgA8oj3xtuTXw5pTpSggKo4sIL HKxsavSvEVW7S0BdttjwpfRelOV7nFNh/LezLtBhzwKLlX4EcpxUUHgNw+QCkdQBN24k gHzyisCofghsAdxlr9DBJE4pLcYLriswe1uvxB8+1+p4d+lkmbL2FkHx75BjY8TLR/LD Vz/NquFJBoKCW43huacuXq0r7JlkSekwwaZUQSmHT2C2EorBEa7G/fVDP63WG3HksB9q CA== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2v5btptvpa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Sep 2019 02:32:39 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x8O2STPi125015; Tue, 24 Sep 2019 02:30:38 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 2v6yvqnckt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 24 Sep 2019 02:30:38 +0000 Received: from abhmp0001.oracle.com (abhmp0001.oracle.com [141.146.116.7]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x8O2UZAp015797; Tue, 24 Sep 2019 02:30:35 GMT Received: from ca-mkp.ca.oracle.com (/10.159.214.123) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Sep 2019 19:30:35 -0700 To: Austin Kim Cc: jejb@linux.ibm.com, martin.petersen@oracle.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org, QLogic-Storage-Upstream@cavium.com Subject: Re: [PATCH] scsi: qedf: Remove always false 'tmp_prio < 0' statement From: "Martin K. Petersen" Organization: Oracle Corporation References: <20190919075548.GA112801@LGEARND20B15> Date: Mon, 23 Sep 2019 22:30:33 -0400 In-Reply-To: <20190919075548.GA112801@LGEARND20B15> (Austin Kim's message of "Thu, 19 Sep 2019 16:55:48 +0900") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9389 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1909240024 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9389 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1909240024 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Austin, > Since tmp_prio is declared as u8, the following statement is always false. > tmp_prio < 0 > > So remove 'always false' statement. Applied to 5.4/scsi-fixes, thanks! -- Martin K. Petersen Oracle Linux Engineering