Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp700246ybl; Fri, 31 Jan 2020 06:30:48 -0800 (PST) X-Google-Smtp-Source: APXvYqyzQh8LLbwSpckK4PYRzVny9ACmjNRB/GJxWyJZF4LhM0vNEp6/Ec8Cpu0fKXCsUFhKBKqI X-Received: by 2002:a05:6830:4a4:: with SMTP id l4mr7789963otd.91.1580481047930; Fri, 31 Jan 2020 06:30:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580481047; cv=none; d=google.com; s=arc-20160816; b=g0+WpZBdFkJARZEOnO1SVfOUvr4jJurcApwdxUkZvnipwlgVAQwlF1w3qS++mwOLbq zX6vg2NQN+eJ6LamqSiY9pIBoKNV6N0YAdb48x5HFIxvn+Dcg7pMotp75F6o6ZJl1miK J/WXgePo7ToLQrR/tkKos9EAWK5IMPbm1nDwDDJFiGBs21aPQUhPPiMyfnnJ6INwjqgn r9bgc6nhqqsueggBtb1ynLB0LfS8PqAKj8wjFTo+++I4O1PSLmAGRciIDzXManDCM1t3 LgcSupMYiqV+4QUKHilRkF8cdGIkQW4DebZtcanAwnbtx2mRSURHjWnoEgEX/UIXyt5p /C3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=V/PCnqNtDQJTE0n6z019lCU8yqKmiVuTIJCF6Mgs2hA=; b=sw1hFzeIBcbnkfGx4VyQCb+xeTX4XrdDVexOGnDsVniTgsiDf7LpfeQuyFOoLquWQT UQQu2kfy7+mkfpgjwshXbHsfa6cncxQlt0o1TjNBqenToorj7c5VMil9+SxwLnEFsupw BUAka3hiKzzPZR1qlPg8prfzYmjK8o5Ruc0YoMNTXR1GAAAFth5OQTpEwDI2OyW/LP3g bs5CElFqGUn6WPTfDNA/VgktPc8NzDNufYEkd5R03JCt/078yghtjj9pPSO2D4zabaO3 g+aTBhNQxbgxqGF70zmb607k/J2c+qzocNxDvyhsfLo1nFW0FT2CNN1QuYOCEnIgNo0p sOog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=zym66xsy; 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 g26si4893403otn.180.2020.01.31.06.30.34; Fri, 31 Jan 2020 06:30:47 -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=@resnulli-us.20150623.gappssmtp.com header.s=20150623 header.b=zym66xsy; 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 S1729021AbgAaO1z (ORCPT + 99 others); Fri, 31 Jan 2020 09:27:55 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42201 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728988AbgAaO1z (ORCPT ); Fri, 31 Jan 2020 09:27:55 -0500 Received: by mail-wr1-f67.google.com with SMTP id k11so8808749wrd.9 for ; Fri, 31 Jan 2020 06:27:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=V/PCnqNtDQJTE0n6z019lCU8yqKmiVuTIJCF6Mgs2hA=; b=zym66xsy/sjzCBn080zU+FiBL1C3WjHGj6hPdfx+yz4tx+sXjgCI4IXwOcP9KNvUr8 6xFC8DlHxEY9TDbv71iMStIek4j0ibL8+k1x0uloTJlEcofseH+Me4fZK0nY0uaJ1l2B MhgiEy4L3KgUMEJ2vBNwdDr2F/Qc2pQES4V0TnYIZSxkhpL+J7pIIzSZxpwibXe7atfi m4J0ZN45z+vzoF2Sh8E5EdsKIJMNMACaoDn/Vv+PsEBgXOEYSs6XQeFQgj3Vu9JYN9rP jEeTloINK+LpNlSfYB9wbzt3pgjTwCG+J1xn3oNJviWGRq5jOdoCf4iUO1imiX3vMGFS r6NQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=V/PCnqNtDQJTE0n6z019lCU8yqKmiVuTIJCF6Mgs2hA=; b=leumneRNySWoh+KkY4zc8GtZLQXzkemW9NvAAWv605TTdqNdi5u811hECZSn29ofNp UAAwhyCU6WkKOXgghWIG/+kvuRSmCBJN1O82xUuQLOZxW2noFLoBosRkcT6xb07TuP1O IQ92bfGjJVckPqtMtnn1g9iqPouOSjQBUEhoUx/H+W4XfCdXQFH3mDfgULAdB2MZoqG9 Irq6pTqfPtdTij5jY+hb3SnxHhRvw6e2psiaoQkK6N62Rwma7ImKBrFcvI8P9GDqugon MJEY+PgOQSKVV4rCoOLPJel7XIglL6GSH12XT2poaXBJ+WCzzL61aGtfqaO25SBxLlXu x53Q== X-Gm-Message-State: APjAAAWpkKbnpHspLLdfuWvpr5CIQDhv44Sm/taqkW7H/3anMTDchBVb 4x7gAZsePArNhEDU40odD130DQ== X-Received: by 2002:a5d:4651:: with SMTP id j17mr12699429wrs.237.1580480871833; Fri, 31 Jan 2020 06:27:51 -0800 (PST) Received: from localhost (jirka.pirko.cz. [84.16.102.26]) by smtp.gmail.com with ESMTPSA id j12sm12916560wrw.54.2020.01.31.06.27.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 Jan 2020 06:27:51 -0800 (PST) Date: Fri, 31 Jan 2020 15:27:50 +0100 From: Jiri Pirko 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: <20200131142750.GA2251@nanopsycho.orion> 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-Disposition: inline In-Reply-To: <20200131015123.55400-1-natechancellor@gmail.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fri, Jan 31, 2020 at 02:51:23AM CET, natechancellor@gmail.com 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 Acked-by: Jiri Pirko