Re: [PATCH] div64.h: Fix description of do_div parameter

2019-02-25 Thread Jonathan Neuschäfer
On Mon, Feb 25, 2019 at 04:19:02PM +0100, Geert Uytterhoeven wrote: > Hi Jonathan, > > On Mon, Feb 25, 2019 at 3:05 PM Jonathan Neuschäfer > wrote: > > Contrary to the description, the first parameter (n) should not be > > passed as a pointer, but directly as an lvalue. This is possible because

Re: [PATCH] div64.h: Fix description of do_div parameter

2019-02-25 Thread Geert Uytterhoeven
Hi Jonathan, On Mon, Feb 25, 2019 at 3:05 PM Jonathan Neuschäfer wrote: > 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 Thanks for your

[PATCH] div64.h: Fix description of do_div parameter

2019-02-25 Thread Jonathan Neuschäfer
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 --- include/asm-generic/div64.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff