Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1067158ybl; Wed, 28 Aug 2019 09:10:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqz0Kq70C+gJzwM2tI9umTpAr2tHeoBKjqYbO2r2P0fgyDXeAhbEhrpM3jto0yspEZeYOI2O X-Received: by 2002:a62:e516:: with SMTP id n22mr5646394pff.105.1567008622277; Wed, 28 Aug 2019 09:10:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567008622; cv=none; d=google.com; s=arc-20160816; b=tFfomuqlBhJJKdbNBziXOxGpBlzInYFbq+5Cgq0ZmmMgsDN1XTzOY0QJ+MW3A1hQOw vY80jEG/B4o6ulLrY08RJYEmvWGmd7a/G16UavW1zRWdzwFSjwayeht61K4qB86hkRcn WJ+y/QVXxQQFrYJyG+pVKwEfp9MKXBbmtwEEsusl9eFlY983DhOspAA73JoXCKeyQbin GthqklVObG4Ju5tBlpL4fkGFsSaXgOmmHfb3+CEFziZSmIr7trcNNlPO/kEVrOJNEewI nejDFS964Wx9WgC21q+0RfstWDfa6CKxUgfaVz4xrdX+0qogzrCQyhF8HeTLSI7nSWm0 msLg== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=BzVMPAuPTgnTNBop7uKiRqnQbZ9ZvTNeIFWfIvIBIHs=; b=scitwpABrJt6qyuBdsmMwB3kq1bvKCp6VoatGXmhDuT9tDrqVZkUuOFTZ6HKm/9w+R 94UzLj36ncOWs3qwYavjbsxcYUaiIKp1hjnKYm+nQDv0sjcpBW31U+Bh43XpI9HqK+z8 rUIwlT8NOLSZRbdYagnd1OyMErsFdiPN8Brk0dBF+UCrfetBU/BZ9pdmyGEGRyvgXV6m xc2DG3kZKtTIvbS40DP/In14kwkQS8c6JAWZnU6GqeHjle7huZQYwO/vdPNO5/IMyX0t nmmGBn9igzi0k7ss7qhIiZhgf9e6n7FXgtNjV9HHHX7kLu8GlLihX5y7tsOemZLdA9i5 1dEQ== ARC-Authentication-Results: i=1; mx.google.com; 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 n6si2299618pgp.424.2019.08.28.09.10.04; Wed, 28 Aug 2019 09:10:22 -0700 (PDT) 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; 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 S1726569AbfH1QJI convert rfc822-to-8bit (ORCPT + 99 others); Wed, 28 Aug 2019 12:09:08 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:47790 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbfH1QJI (ORCPT ); Wed, 28 Aug 2019 12:09:08 -0400 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1i30VK-0007jp-5u; Wed, 28 Aug 2019 18:09:02 +0200 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id B20971C07D2; Wed, 28 Aug 2019 18:09:01 +0200 (CEST) Date: Wed, 28 Aug 2019 16:09:01 -0000 From: tip-bot2 for Jonathan =?utf-8?q?Neusch=C3=A4fer?= Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: core/headers] asm-generic/div64: Fix documentation of do_div() parameter Cc: Jonathan =?utf-8?q?Neusch=C3=A4fer?= , Thomas Gleixner , Geert Uytterhoeven , Ingo Molnar , Borislav Petkov , linux-kernel@vger.kernel.org In-Reply-To: <20190808181948.27659-1-j.neuschaefer@gmx.net> References: <20190808181948.27659-1-j.neuschaefer@gmx.net> MIME-Version: 1.0 Message-ID: <156700854151.17246.16442278167362869374.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the core/headers branch of tip: Commit-ID: e8e4eb0fbeda570b16464208aebf5caccfb6eb95 Gitweb: https://git.kernel.org/tip/e8e4eb0fbeda570b16464208aebf5caccfb6eb95 Author: Jonathan Neuschäfer AuthorDate: Thu, 08 Aug 2019 20:19:48 +02:00 Committer: Thomas Gleixner CommitterDate: Wed, 28 Aug 2019 16:38:46 +02:00 asm-generic/div64: Fix documentation of do_div() parameter Contrary to the description, the first parameter (n) should not be passed as a pointer, but directly as an lvalue. This is possible because do_div() is a macro. Signed-off-by: Jonathan Neuschäfer Signed-off-by: Thomas Gleixner Reviewed-by: Geert Uytterhoeven Link: https://lkml.kernel.org/r/20190808181948.27659-1-j.neuschaefer@gmx.net --- include/asm-generic/div64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asm-generic/div64.h b/include/asm-generic/div64.h index dc9726f..b2a9c74 100644 --- a/include/asm-generic/div64.h +++ b/include/asm-generic/div64.h @@ -28,12 +28,12 @@ /** * do_div - returns 2 values: calculate remainder and update new dividend - * @n: pointer to uint64_t dividend (will be updated) + * @n: uint64_t dividend (will be updated) * @base: uint32_t divisor * * Summary: - * ``uint32_t remainder = *n % base;`` - * ``*n = *n / base;`` + * ``uint32_t remainder = n % base;`` + * ``n = n / base;`` * * Return: (uint32_t)remainder *