Re: [Mesa-dev] [PATCH 1/2] gallium/util: fix coverity MIXED_ENUMS warning

2016-05-30 Thread Marek Olšák
On Sun, May 29, 2016 at 6:32 PM, Rob Clark wrote: > From: Rob Clark > > CID 1362171, 1362170 > > Looks like it should be pipe_transfer_usage in the prototype, based on > how the parameter is used. Note that I don't see any users of u_staging > so maybe we should just remove it? Yes, that would

[Mesa-dev] [PATCH 1/2] gallium/util: fix coverity MIXED_ENUMS warning

2016-05-29 Thread Rob Clark
From: Rob Clark CID 1362171, 1362170 Looks like it should be pipe_transfer_usage in the prototype, based on how the parameter is used. Note that I don't see any users of u_staging so maybe we should just remove it? Signed-off-by: Rob Clark --- src/gallium/auxiliary/util/u_staging.c | 2 +- s