Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:

platform/linux-generic/pool/generic.c
line 60
@@ -506,11 +510,6 @@ static int check_params(odp_pool_param_t *params)
 
        switch (params->type) {
        case ODP_POOL_BUFFER:
-               if (params->buf.num > capa.buf.max_num) {


Comment:
Same here:
```
if (capa.buf.max_num && params->buf.num > capa.buf.max_num) ...
```

> Bill Fischofer(Bill-Fischofer-Linaro) wrote:
> Same comment here.


>> Bill Fischofer(Bill-Fischofer-Linaro) wrote:
>> If would probably be better to keep this and just correct it rather than 
>> delete it:
>> ```
>> if (capa.buf.max_num && params->buf.num > capa.buf.max_num) ...
>> ```


https://github.com/Linaro/odp/pull/312#discussion_r153660457
updated_at 2017-11-29 20:41:35

Reply via email to