Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp1752681iog; Thu, 16 Jun 2022 13:06:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v9SwbnMIqsSmQO7DId8NpKYN+mfFlt8SNiLcH3DC/tyGaTra0LLncskLZxkold5BdKQwdo X-Received: by 2002:a05:6a00:23c4:b0:51c:5e8:e8a9 with SMTP id g4-20020a056a0023c400b0051c05e8e8a9mr6242715pfc.62.1655409966218; Thu, 16 Jun 2022 13:06:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655409966; cv=none; d=google.com; s=arc-20160816; b=m6LlYIEkV4RFfSY1V8guT8EzwcqupM1P1d4J2BGDveqvey7I82YGalK9BRgZ8yu73x J5Go6pLM8oasyb9ilRN+WlRX1VkeGt3+rTwIG1d+cUUS9E1jl7wFL+HJU9dZ+MtoRgkG OMNDgy2HClB4n6d8vp8nNv8lQtu74kjSLflAru2FJv4ALHUI2K50ZlIa184g4iIaqKXM 9VziTeOQZ1eW1v8LPyBKe34tp/ylJnKD6fM/EktE/rFaHyjjAE0yHhjSWio3BqCUqbco OQS1ajaXA4ztnCEYfUyhFL8YtkeNf9dV+5NkBkB20d/BNolyCc+HoRJKioxtHlWDErHU wE2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date:dkim-signature:dkim-signature; bh=01cTbq+h2IymvC6NFpX7j8ot9JunhL9DOIgBhtE7F/E=; b=FCgecWyYEsrSqmHyiJhO80FTaVtZwqkaIhvrRaYf1BDroBpSxV8Ic4EQWWQxxCtvPr 3idgysTpfD7RdfN5Y76xbnESFxo4QuXxVwI5nNQ8f1aMcwCm2SQT3yTljep4TIAr8GE2 z4t2kKms8wbIShtKHrgSkDR/pVaCp20Y49etdYB8iroYXOuVrj4ZkvCs3OUu7GhuGxer JynZGYK7Og+fyFiB+ZZgV2hgR+NIdlJ5OgsdC9BoGwt1wCuzDyOd8h+usVFdg5JmGSP3 urRQ+hr81+UJ8qxBIHtcSTE+rW2PZTi/AUkWTQ0Uq6xibk0GEX7rMHAjqbc1uM6fYBRV xPjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=GDIZffdG; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=pzsyo1Oi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y190-20020a638ac7000000b00401ae0f4a06si3207111pgd.577.2022.06.16.13.05.53; Thu, 16 Jun 2022 13:06:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=GDIZffdG; dkim=neutral (no key) header.i=@suse.cz header.s=susede2_ed25519 header.b=pzsyo1Oi; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378405AbiFPThv (ORCPT + 99 others); Thu, 16 Jun 2022 15:37:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229953AbiFPThu (ORCPT ); Thu, 16 Jun 2022 15:37:50 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 302482AE0C; Thu, 16 Jun 2022 12:37:49 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CB3D91FA18; Thu, 16 Jun 2022 19:37:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1655408267; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=01cTbq+h2IymvC6NFpX7j8ot9JunhL9DOIgBhtE7F/E=; b=GDIZffdGZrX5o0krQOrtj4OUp10k/hQCM37Djc+JDSuvelmZUJ4YephnohAHdfGoipZRJZ rEqzvSaAuWrwG5xkmRTguREKS99v5d3LnaeEEm7nkdY7x49U3srTo9sN5WZRTKs6SE9OwP 7bkOWe3qy5CioDKUdz4xA/6Dbr8O47E= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1655408267; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=01cTbq+h2IymvC6NFpX7j8ot9JunhL9DOIgBhtE7F/E=; b=pzsyo1OikFK8hUze6rvrAHBEQyH2R20Gx7YjN7C8sqWLkJLQPJDhfHQwXEj/jKhTZXOMsK H2aAQCsclwmiaaDA== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 97F131344E; Thu, 16 Jun 2022 19:37:47 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id cZr1I4uGq2LpFwAAMHmgww (envelope-from ); Thu, 16 Jun 2022 19:37:47 +0000 Date: Thu, 16 Jun 2022 21:33:13 +0200 From: David Sterba To: Geert Uytterhoeven Cc: Ioannis Angelakopoulos , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] btrfs: Fix 64-bit divisions in btrfs_commit_stats_show() on 32-bit Message-ID: <20220616193313.GE20633@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Geert Uytterhoeven , Ioannis Angelakopoulos , Chris Mason , Josef Bacik , David Sterba , linux-btrfs@vger.kernel.org, linux-kernel@vger.kernel.org References: <20220616080814.1805417-1-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220616080814.1805417-1-geert@linux-m68k.org> User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 16, 2022 at 10:08:14AM +0200, Geert Uytterhoeven wrote: > On 32-bit (e.g. m68k): > > ERROR: modpost: "__udivdi3" [fs/btrfs/btrfs.ko] undefined! > > Fix this by using div_u64() instead. > > Reported-by: noreply@ellerman.id.au > Fixes: e665ec2ab6e1ae36 ("btrfs: Expose the BTRFS commit stats through sysfs") > Signed-off-by: Geert Uytterhoeven Folded to the patch, thanks.