Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp735863imm; Fri, 11 May 2018 05:42:30 -0700 (PDT) X-Google-Smtp-Source: AB8JxZppKeCYhS2oCZ70KzUEtkbR62lxKzjeH9HF7DOy8GOkp1cTQYM9ff9ICvYFWhf6GvnY6br5 X-Received: by 2002:a62:7682:: with SMTP id r124-v6mr5379761pfc.80.1526042550711; Fri, 11 May 2018 05:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526042550; cv=none; d=google.com; s=arc-20160816; b=VgqPaf5wi7aaoqO3w7DZn9A1hPXvRJ7b834IujG9RF4JjKI5LDYgM/fHuCcHRJNd9f pRUJybvI6h0Bhi75ZMQXSviQeottK2t/z1Phz22M1oEq6vek25+UinpipoWm17pP6+vU yYmLFXLRLpePLzGGAE9lExlm2ZwOmJxKkAUhrA1uNTK9RzrFbCs+QVGP+qcHYf6VqGOL /8z4+z3c4p13UQ0GLaVjnDG+pLQ0hzCHZp0AGCbXNlFeWzdUnEQ/iCBZt6U/LXQJFi44 CRtPrJx0nF6SXwKAoM63VP9G9Hrd/C0uPAYD/G3g7xA5bFkIpwSjA74tb4vkiWFTziAu 8mcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:arc-authentication-results; bh=pJnAwe+kDa2hsTk2Rd703BwYOKL7toujKdhoQJu3fOQ=; b=KvEgUYaz7RcEgRJL0t4qVFZgNQF+wB759DFUyP66umYNXbHwO/ON/QTeL7YMgM6IP4 pLFgYoD9xo3CKN9p0Vm6lXd2/a6hxdrdN2TqHjHkYmH4IybAKWLr3mCL3yifdZwdpVhp /8Uu4heVmIhX5pS/XuasyKPrdllkPZsAJytbum75ZeouE+uZ/bTRJEPrIgi1tRc6fQBF q9gpGSbXzwv/sptl04j0SxZbOmM7j79h1K+V6DhE6UA7Yb9jBUGzn8WKwwNPObtLVezz cYksCjatOyFD3tntXpBhEWSt2r2PB5RQ1fN0mb1LyDEzuqZTDnHYakT2RmakfLRY6dZ4 0Yhg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@AQUANTIA1COM.onmicrosoft.com header.s=selector1-aquantia-com header.b=p+Gps70g; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c7-v6si2482183pgu.439.2018.05.11.05.42.15; Fri, 11 May 2018 05:42:30 -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=@AQUANTIA1COM.onmicrosoft.com header.s=selector1-aquantia-com header.b=p+Gps70g; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752897AbeEKMlF (ORCPT + 99 others); Fri, 11 May 2018 08:41:05 -0400 Received: from mail-bl2nam02on0081.outbound.protection.outlook.com ([104.47.38.81]:17891 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750726AbeEKMlD (ORCPT ); Fri, 11 May 2018 08:41:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=AQUANTIA1COM.onmicrosoft.com; s=selector1-aquantia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=pJnAwe+kDa2hsTk2Rd703BwYOKL7toujKdhoQJu3fOQ=; b=p+Gps70gXbr37LTU6gHeHnOe6/fwW+aDRwycG0ot6KkzqG+XTDSR9hZiyh7CoHwMaFRjyic9JIcPXCHIcqAtjBzBsA/ZYnbeJBqPVjUeyeIoPjDGVnkBdRACThJUF6pBcs5JGS1vTJHHQ6wwqlaON413PdvidE7+d6O1yHJ/7oQ= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; Received: from [10.0.3.15] (95.79.108.179) by CY1PR0701MB1664.namprd07.prod.outlook.com (2a01:111:e400:5289::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.755.16; Fri, 11 May 2018 12:40:58 +0000 Subject: Re: [PATCH][next] net: aquantia: fix unsigned numvecs comparison with less than zero To: David Miller , colin.king@canonical.com Cc: pavel.belous@aquantia.com, weiyongjun1@huawei.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180510125201.19707-1-colin.king@canonical.com> <20180510.175358.1296757435086922873.davem@davemloft.net> From: Igor Russkikh Message-ID: Date: Fri, 11 May 2018 15:40:43 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180510.175358.1296757435086922873.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [95.79.108.179] X-ClientProxiedBy: AM0PR06CA0041.eurprd06.prod.outlook.com (2603:10a6:208:aa::18) To CY1PR0701MB1664.namprd07.prod.outlook.com (2a01:111:e400:5289::22) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020);SRVR:CY1PR0701MB1664; X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1664;3:uyA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AjTLFr2OaXBWziICyDJzI6a+uz4JEorb3X7p2a4Z3SAPeemDpo8BZY7xA3MbK2g7MuqqMYoqGnVAdmN4ZqHPgfJ/x0ZRQpqnjUAjJvzZ5dIz2CHvGRTJrC7lAU7eP4Vp8h0K2nAMLdjutKQcheMUQaN9/+Cy4DaHl99idfjPHtR5J94GbVS5rDKgHDmG6gtjKTDfPlDnvmeSz06dhQ+aNjBXawjKOwDEggIUYZfNRcdes3WYDiPUJzHDYSYcLQB05J/xmFWlivXs6jsBxHxc2RkPg5Og4uvJ7bSkL+n9l0RKKVh3gr8oVxeXdddEP9b/whZGMoV4aTx3xV/L9zVMkDVJ023rQIUXy5q;4:9AysdZxfc8lLBkRqsx8vh4w9LrSas3D8QgRJK6vs04HjSy8I1EqSwdzEryHdMw/+aygJaZk8N98r8IkEUuMVF1e1gTVhKVHGcMz7FbF5YQd88Wn0TPzBL6ZG6kKq3yrLPkbX7OJn1s9JoQ5b49J0cwb/VLiCC+BxiMD/uVtHTH6PRPr9Juw1edzO2GH4ZXKtx9RBDzjjWflyfNCwk0Zbu0ODloFh0XSLnbRB97dGdmRY3A1q2lC0Rdcuj00xYqoB+PB/rCj1QrCYXW0Zso1ramBPt8tqctkhSbFwXS4E6TIsa0KRMSUQ0IW4nlINjsdW X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(198206253151910); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231254)(944501410)(52105095)(10201501046)(149027)(150027)(6041310)(2016111802025)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(6043046)(201708071742011);SRVR:CY1PR0701MB1664;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0701MB1664; X-Forefront-PRVS: 06691A4183 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6049001)(39850400004)(396003)(366004)(376002)(346002)(39380400002)(199004)(189003)(6486002)(8676002)(81166006)(81156014)(8936002)(3846002)(97736004)(53936002)(6116002)(6666003)(478600001)(72206003)(25786009)(230700001)(6246003)(5660300001)(65826007)(558084003)(305945005)(7736002)(2906002)(2486003)(386003)(76176011)(59450400001)(4326008)(23676004)(52146003)(52116002)(186003)(956004)(2616005)(476003)(106356001)(26005)(446003)(105586002)(16576012)(36756003)(86362001)(47776003)(64126003)(58126008)(486006)(16526019)(31686004)(11346002)(316002)(77096007)(44832011)(229853002)(31696002)(65956001)(65806001)(68736007)(66066001)(50466002);DIR:OUT;SFP:1101;SCL:1;SRVR:CY1PR0701MB1664;H:[10.0.3.15];FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: aquantia.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtDWTFQUjA3MDFNQjE2NjQ7MjM6OVNoclZlSDB6NzY1QXpyb0V2dE1xdVIv?= =?utf-8?B?VEtERkE0aUhQQ0c4Q2xrN1phbUtET2NYdlI1WUs3eE5Za2lFVWxJUnJ1Q2t0?= =?utf-8?B?OWI1eHViTnhycEJyZGpNNzN4TS9IMWZOT0tBdm5UMnZ3TUcwR3NlOHlkdGg4?= =?utf-8?B?N2h6WnRHVDVUMWxwYVZQY3MvaS9EZWtpWC94NkNibEp4S043bkZuWmFuODg1?= =?utf-8?B?UGIvWWwxSnJCSzdLYmxqL1Eyc0k2clFoMFFPK3Q4NWwvWCtHVUlDWHZ0bEtv?= =?utf-8?B?bWhUTWhKS0dUWWtzdDNrT3NpNkRFWHF5ZUxIY2UrazhPYlZIRThNajZrQkpm?= =?utf-8?B?UW9OQlNxY0RUaVdPWkM4RXN0Q3RPdU1lWnpwZjloaDcxd3c2Q20wRVBSVDU0?= =?utf-8?B?OUo4OWl6SzhpUktYckdIWWY1TjR4VlRHWUQ4K3lGYzZueXRtRmRNR3ZPRUNO?= =?utf-8?B?eHlFZDZ1QVZjcytkV0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eTEyhjsxgBi7p8i1MWiAw3Bddsh/ebKAMzoPm89OiPE/XZFK8djNgsQ6P/wZ4ae5Z5DMx0JPuDylX+TTdHvQdCHM5/07YF6sGpDIC55ztN9yCDKlNV8ZEtZvykIOqoZUUnUPf6eqv72ld83rCBhrfEF25vn+75BkwRiuDb5VcvJ8pcE93W2b9pVrytJ1dTEZmrupMA/ZTl1oook1KX+1S+s8uvDe/BmpZjAjwWYYBr0IRB8QteFhsBhol/fGP+XQXlVjGv57T7mEPz1lZbR3Bv1neCO/b1EyAGTk7LUPxtkXfaYCEj1bUapkiphDV1uQGuvcjVckcxWKFxRMN4snp214JHOxUCWG4RULpCWUekz+QdfKvJkSEigTxcBU0HrNJ13bQ==;5:WMPVHSiwe2D/xjjgxCfVbDLLT1DhJe/j3CTjFavLPAnPbW9JKISWVjjlJcYd/3wcDD8B+pGGSxWQzFWKGLloAP8GFzpALOsuEzJBLcSZ2TcQRN65St4HcFBAuV5O/tOahQb3iSpF4wsxg3esH74nyJL//oxSqMdnBns7++tz6AQ=;24:1VmEm08lzXM1CFfwQRkNLov7k4CIPdwWOhkf6KIqq86rQWp3yVHsPTR6oLU31t/joS25jWjKCosNIgJA/y8ka8+9hp80VB27oLSjOGNaGgs= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;CY1PR0701MB1664;7:6J9XC17wLo3ugGUkrOTRhoLDHc7+mHDjeoM/ROuDPYKkILZiUDBbTov7z96Jc72H2WhmgTwaB+OjRwGBv9MD0QKz7NfbA1kxuLU+SmWSgkY0bJR/NewxKvOjvubl3SKkCs9xRfovX3hC7qqTakE+w/gPbJ86qmz0BHViB/bPqKGeOg7/ihQx+EDBAgDRNti9IYoENnn6TnEjEoEHkg2m4uzHbqU++jApxvYyJzNukh8G21IDyjyLuKgCU5dWq1uS X-MS-Office365-Filtering-Correlation-Id: 481f7404-e715-40ae-3913-08d5b73c7349 X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2018 12:40:58.5235 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 481f7404-e715-40ae-3913-08d5b73c7349 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1664 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> Fixes: a09bd81b5413 ("net: aquantia: Limit number of vectors to actually allocated irqs") >> Signed-off-by: Colin Ian King > > This doesn't apply to net-next. > Colin, believe thats because you should target to net, not net-next. BR, Igor