From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from stravinsky.debian.org (stravinsky.debian.org [82.195.75.108]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1AFE11FECCD for ; Tue, 7 Apr 2026 14:03:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=82.195.75.108 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775570592; cv=none; b=m1RVseoP3vNLBdx/Z/ASFJfHA/FSXClZpYOWOaZFkpZfuA3cqgUhYa9167NbH4zLpAaID/4XDRn3dNi4dHzwGMypyelfGiyfOiYulMcJksst9wjhKgb7LEIXunFvOCdG5OGuFB+18+XG52/WTA5piOU74LmJatsxJzUTArhQIs4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775570592; c=relaxed/simple; bh=cW5B9DOi8ijtFtooZNdTWH4htHu64kEwEhSxqEJPCuk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=n94NIxEVPYL2rNR7EuPzdtv2RyPgHsZTdQmXF4VIH22S4difLsMS7UF4R6EwI62b97eMmUXFnD1HEzisFr20jbxF9F0GRVCDvvR11tLQP+i8klRqKdqIIvqlrChOFb8laW/yFqVe3TKHL/JnJqF3+XChvOayFWziHyJ8OHCID/g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org; spf=none smtp.mailfrom=debian.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b=YhGVUOx/; arc=none smtp.client-ip=82.195.75.108 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=debian.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=debian.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=debian.org header.i=@debian.org header.b="YhGVUOx/" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=MQ0UQwN2ECn+WeLIBVKLrP6GdCEuLhDmj1/1Pfy53iA=; b=YhGVUOx/dJ8mFxKv6LubETERZc /t5XVxCmiqnK7OtZ9eNJu9ohFR6LTbxMd1ebLhx7MfpnMc1Y6mDzAL4MCbNB6n18Cna/NRDnRPTtC 2HTroI3m+3/VByv98mcgOF+SSv5HETs/e8t8qsYYHz3KbPptzSA6SEDqfzt9f4E1kOVpaPZhGyG5O /OYjXltvFGf6ueTvxdqLkSC4QeFfQ2C63lwuAmg5x/DAhSVrjWoD05enzZApXk+dKYlnpZkay7BLh f7CWLlBSnCVgaGLdI6AVg/t2s17QVs3ZQhZ42bzdLt9jYmCPVX7Puy+5nioT6zumKDZ740zKXD2WA EBIIdBkw==; Received: from authenticated user by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.96) (envelope-from ) id 1wA71G-007gwX-39; Tue, 07 Apr 2026 14:03:05 +0000 Date: Tue, 7 Apr 2026 07:03:00 -0700 From: Breno Leitao To: Arnd Bergmann Cc: Andrew Morton , Tejun Heo , Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH] workqueue: avoid unguarded 64-bit division Message-ID: References: <20260402205913.1953402-1-arnd@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260402205913.1953402-1-arnd@kernel.org> X-Debian-User: leitao On Thu, Apr 02, 2026 at 10:59:03PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The printk() requires a division that is not allowed on 32-bit architectures: > > x86_64-linux-ld: lib/test_workqueue.o: in function `test_workqueue_init': > test_workqueue.c:(.init.text+0x36f): undefined reference to `__udivdi3' > > Use div_u64() to print the resulting elapsed microseconds. > > Fixes: 24b2e73f9700 ("workqueue: add test_workqueue benchmark module") > Signed-off-by: Arnd Bergmann Reviewed-by: Breno Leitao