Re: [Qemu-devel] [PATCH] nbd-client: Use correct macro parenthesization

2017-09-24 Thread Michael Tokarev
19.09.2017 00:46, Eric Blake wrote: > If 'bs' is a complex expression, we were only casting the front half > rather than the full expression. Luckily, none of the callers were > passing bad arguments, but it's better to be robust up front. Applied to -trivial. /mjt

[Qemu-devel] [PATCH] nbd-client: Use correct macro parenthesization

2017-09-18 Thread Eric Blake
If 'bs' is a complex expression, we were only casting the front half rather than the full expression. Luckily, none of the callers were passing bad arguments, but it's better to be robust up front. Signed-off-by: Eric Blake --- I plan to take this through my NBD queue, unless it is picked up by