Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp840715ybl; Fri, 31 Jan 2020 08:56:26 -0800 (PST) X-Google-Smtp-Source: APXvYqyhP8Lh3kxV/v8+HwX0BfAJxHrcSdpr0Q8ZrUc0mt/IGP3KndAXmeepR9DUmuUn+tETbUt6 X-Received: by 2002:aca:b284:: with SMTP id b126mr7032796oif.79.1580489786477; Fri, 31 Jan 2020 08:56:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580489786; cv=none; d=google.com; s=arc-20160816; b=wHmCm32CWxd/RHpsP+nr7iGoc5GVqaups+/ZtNkjmrtQrX9ErQhd5bSFhebwImeR9Z TW+/o63nrCKzxebXPhpMWc7b0VSyIdim5rIDoWdc97zgkIHFXd3+WalwiKuUWYeJez1L 18pS7EcHPMf94jH2Ff/PhZNyYwbYffP0B9wdG6VawcZEme6wM/ieSoq6nFigFe5kKScL Zmk5zvGUX9JtMZCT72CJAeaF750OkBuBZiiw1c0F6+B05LAhUy4lqwcGJ6ECHdJKh8HF BFFVsSAfhw3yP7APUk5fTRv2TvV7ghbF5GBHfSPylvxW1E4wnGEQx28i2Q4ACZciGF03 lwxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=cEx6wZXB8RKVJAbd88hoPrfsERHt6npNGz/nmJHQENU=; b=PctO8gDUtxzSulriQ1XJVXEbMNpDEI8rnSq4mDMFE09v1Qu5HBkMMeSSMc1UAvQKF+ WQhVeAW4GSVwcfc8VrH18PWGBuMyjb15cXSCOVmYP9wlCS5rMjnZm6dE0DwZHS1+skCN DRNR0hds3MNY1zsZtKdqdpE3rGw07OZ3hXjhXNQmLxlBJPn8Ufr/n7m1aZK94avZSbX5 mgsWdqRIZX4JxaJm3zrHldqXxazSGba6KtoSBCc2eMexTr+9CyCiJIlehTECGAt3TcT8 qd57chFjXWrhomycLWZo+o4be7fjTEhiH1p8QsEdRSIIStR2VzDO6PmIaNm2nU/2yI1C Ku/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n18GKHOX; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a22si5096754otp.84.2020.01.31.08.56.13; Fri, 31 Jan 2020 08:56:26 -0800 (PST) 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=@kernel.org header.s=default header.b=n18GKHOX; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726893AbgAaQzL (ORCPT + 99 others); Fri, 31 Jan 2020 11:55:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:38822 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726330AbgAaQzL (ORCPT ); Fri, 31 Jan 2020 11:55:11 -0500 Received: from cakuba.hsd1.ca.comcast.net (unknown [199.201.64.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 2FBA8214D8; Fri, 31 Jan 2020 16:55:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1580489710; bh=mTrY2TnLbSS5HqaZCPPqkko32zM2EGAbWUoxiqWzQMg=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=n18GKHOXtieLCERotzoM8UcCz0OrdkENMYj6EBRLFvRx+CbnqpI5W3ioQF4xNwXm4 fZiorxdNfraW1ZSxrWW8ZK3cOd9cy3fiEbxG261++LMuiNEquPcCeepl0bWKsDgdHV j4SUcyOnF0yRsGb//6yNppAXi/qKgnxodpJYqwEQ= Date: Fri, 31 Jan 2020 08:55:09 -0800 From: Jakub Kicinski To: Nathan Chancellor Cc: Jiri Pirko , Ido Schimmel , "David S. Miller" , Petr Machata , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Randy Dunlap Subject: Re: [PATCH v2] mlxsw: spectrum_qdisc: Fix 64-bit division error in mlxsw_sp_qdisc_tbf_rate_kbps Message-ID: <20200131085509.199405a9@cakuba.hsd1.ca.comcast.net> In-Reply-To: <20200131015123.55400-1-natechancellor@gmail.com> References: <20200130232641.51095-1-natechancellor@gmail.com> <20200131015123.55400-1-natechancellor@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 30 Jan 2020 18:51:23 -0700, Nathan Chancellor wrote: > When building arm32 allmodconfig: > > ERROR: "__aeabi_uldivmod" > [drivers/net/ethernet/mellanox/mlxsw/mlxsw_spectrum.ko] undefined! > > rate_bytes_ps has type u64, we need to use a 64-bit division helper to > avoid a build error. > > Fixes: a44f58c41bfb ("mlxsw: spectrum_qdisc: Support offloading of TBF Qdisc") > Signed-off-by: Nathan Chancellor Applied, thank you.