Re: [PATCH] ALSA: pcm: fix snd_pcm_playback_silence() with free-running mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 04, 2023 at 04:49:58PM +0200, Takashi Iwai wrote:
Sorry, that doesn't work.  The review is done upon the patch, and if
this patch can't be reviewed easily, it's simply no-go.

that's a self-imposed limitation.

it's beyond me why in 2023 anyone working on a bigger project is still using a patch-based review process, given the existence of proper review tools like gerrit (and crutches like github and gitlab).

i always view patches with 10 lines of context, and regularly use the "expand context" widgets to get even more into view. in the small projects i maintain i apply more complex patches first and view them with -U10 or more.

"i don't see enough to judge this" isn't a complaint that would ever occur to me leveling at a contributor.

Again, the problem is the mixture; it partially reverts to the
original code while it modifies some part in some other way.

the baseline is irrelevant - it was already broken, and almost impossible to reason about.

By reverting the whole and reapplying fixes -- although it'll need
more steps -- we can see more clearly what change fixes which part.

that's not what actually happens.
this is all deeply intertwined code. splitting up the patch will merely give you the *illusion* of better understanding the pieces. but to actually make sense of it, you need to see the whole, in its end state, because there are no fully functional intermediate states.

the original patch was three patches at first. when i was attempting to write proper commit messages explaining what fixes what, i found that it's just impossible to untangle it without lying by omission. so i squashed them and wrote a cumulative description. and you accepted it.

regards



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux