# \[PATCH v2 03/16\] dmaengine: bcm-sba-raid: Common flags for sba\_request state and fence

- From: Anup Patel \<hidden\>
- Date: 2017-08-18 04:56:57 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2017/08/5070153
- Thread: https://ratatoskr.run/linux-arm-kernel/2017/08/5056400/t.md

```text
On Thu, Aug 17, 2017 at 9:15 AM, Vinod Koul [ref] wrote:
> On Tue, Aug 01, 2017 at 04:07:47PM +0530, Anup Patel wrote:
>> This patch merges sba_request state and fence into common
>> sba_request flags. Also, in-future we can extend sba_request
>> flags as required.
>
> and it also changes the flag values to bits, which I have no idea why that
> was done, care to explain that please...

I thought its better to have separate bit each sba_request state so
that when a sba_request is accidentally in two states then we can
debug better.

I will restore state values.

Regards,
Anup
```
