Re: [PATCH v7 6/8] math.h Add macros to round to closest specified power of 2

2024-05-11 Thread Alexey Dobriyan
I think roundup(x, 1 << n) is more readable.

[PATCH 12/11] pragma once: scripted treewide conversion

2021-02-28 Thread Alexey Dobriyan
misc stuff). Not compile tested on csky, hexagon, nds32, openrisc. Love, Alexey Signed-off-by: Alexey Dobriyan #!/bin/sh -x find . -type f -name '*.h' -print |\ LC_ALL=C sort |\ sed -e 's#^./##g' |\ xargs ./script

Re: [PATCH V2] include: linux: Regularise the use of FIELD_SIZEOF macro

2019-06-29 Thread Alexey Dobriyan
On Tue, Jun 11, 2019 at 03:00:10PM -0600, Andreas Dilger wrote: > On Jun 11, 2019, at 2:48 PM, Andrew Morton wrote: > > > > On Wed, 12 Jun 2019 01:08:36 +0530 Shyam Saini > > wrote: > I did a check, and FIELD_SIZEOF() is used about 350x, while sizeof_field() > is about 30x, and SIZEOF_FIELD()

Re: 3.5-rc7: nouveau doesn't X on NVC0

2012-09-09 Thread Alexey Dobriyan
had > > some nouveau changes? ] > > > > On Tue, Aug 28, 2012 at 8:26 AM, Alexey Dobriyan > > wrote: > >> Ping! > >> > >> No X for me with 3.6-rc2. > > Can you try -rc4? > > Ben thinks the pcopy fix should fix it. I've tried 3.6.0-rc

3.5-rc7: nouveau doesn't X on NVC0

2012-09-09 Thread Alexey Dobriyan
had > > some nouveau changes? ] > > > > On Tue, Aug 28, 2012 at 8:26 AM, Alexey Dobriyan > > wrote: > >> Ping! > >> > >> No X for me with 3.6-rc2. > > Can you try -rc4? > > Ben thinks the pcopy fix should fix it. I've tried 3.6.0-rc5 and graphics works!

Re: 3.5-rc7: nouveau doesn't X on NVC0

2012-08-28 Thread Alexey Dobriyan
Ping! No X for me with 3.6-rc2. On Wed, Jul 18, 2012 at 12:14 AM, Alexey Dobriyan wrote: > FB console is OK, when switching to VT7, there is no KDM prompt. > Instead looping messages appear: > > Failed to idle channel 1 > 0x2634 != chid: 0x0011 >

3.5-rc7: nouveau doesn't X on NVC0

2012-08-28 Thread Alexey Dobriyan
Ping! No X for me with 3.6-rc2. On Wed, Jul 18, 2012 at 12:14 AM, Alexey Dobriyan wrote: > FB console is OK, when switching to VT7, there is no KDM prompt. > Instead looping messages appear: > > Failed to idle channel 1 > 0x2634 != chid: 0x0011 >

3.5-rc7: nouveau doesn't X on NVC0

2012-07-18 Thread Alexey Dobriyan
FB console is OK, when switching to VT7, there is no KDM prompt. Instead looping messages appear: Failed to idle channel 1 0x2634 != chid: 0x0011 PFIFO: unknown status 0x0100 PFIFO - playlist update failed Failed to idle channel 2 ...

3.5-rc7: nouveau doesn't X on NVC0

2012-07-18 Thread Alexey Dobriyan
FB console is OK, when switching to VT7, there is no KDM prompt. Instead looping messages appear: Failed to idle channel 1 0x2634 != chid: 0x0011 PFIFO: unknown status 0x0100 PFIFO - playlist update failed Failed to idle channel 2 ...