Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752326AbdG1O0z (ORCPT ); Fri, 28 Jul 2017 10:26:55 -0400 Received: from userp1040.oracle.com ([156.151.31.81]:35900 "EHLO userp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752106AbdG1O0w (ORCPT ); Fri, 28 Jul 2017 10:26:52 -0400 Date: Fri, 28 Jul 2017 17:26:36 +0300 From: Dan Carpenter To: Marcus Wolf Cc: Greg Kroah-Hartman , Arnd Bergmann , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: pi433: use div_u64 for 64-bit division Message-ID: <20170728142636.e6vzzwhc53mv6qpt@mwanda> References: <20170728132339.332897-1-arnd@arndb.de> <569585967.8859.1501251665326@ox.hosteurope.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <569585967.8859.1501251665326@ox.hosteurope.de> User-Agent: NeoMutt/20170113 (1.7.2) X-Source-IP: userv0022.oracle.com [156.151.31.74] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 783 Lines: 25 On Fri, Jul 28, 2017 at 04:21:05PM +0200, Marcus Wolf wrote: > Hi Arnd, > > we already have a patch for this: > [PATCH 1/1] staging: pi433: fix problem with division in rf69_set_deviation > from 20.07.2017 https://patchwork.kernel.org/patch/9855261/ > > Maybe I did something wrong, but my first solution was exactly like your > proposal. As far as I remeber, I wasn't able to compile it that way. Therefore I > made a little bit more complicated fix. If I did something wrong and yours is > fine, we should go for yours, because it is a shorter solution. > Your patch doesn't apply for one thing.... :( Read Documentation/process/email-clients.rst It probably would have been Ok otherwise. I'm pretty sure that Arnd's patch is going to be fine. regards, dan carpenter