[PATCH 2/2] dma-buf: add helpers for attacher dma-parms
From: Michal Nazarewicz <hidden>
Date: 2012-08-06 11:58:45
Also in:
dri-devel, linux-media, linux-mm, lkml
From: Michal Nazarewicz <hidden>
Date: 2012-08-06 11:58:45
Also in:
dri-devel, linux-media, linux-mm, lkml
Tomasz Stanislawski [off-list ref] writes:
I recommend to change the semantics for unlimited number of segments from 'value 0' to: #define DMA_SEGMENTS_COUNT_UNLIMITED ((unsigned long)INT_MAX) Using INT_MAX will allow using safe conversions between signed and unsigned integers.
LONG_MAX seems cleaner regardless. -- Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o ..o | Computer Science, Micha? ?mina86? Nazarewicz (o o) ooo +----<email/xmpp: mpn@google.com>--------------ooO--(_)--Ooo-- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 835 bytes Desc: not available URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120806/977107ce/attachment.sig>