On (30/06/14 16:36), Michal Židek wrote:
>On 06/30/2014 03:33 PM, Lukas Slebodnik wrote:
>>On (30/06/14 15:18), Michal Židek wrote:
>>>On 02/13/2014 03:26 PM, Michal Židek wrote:
>>>>>>     wrapper->ptr = source;
>>>>>>-    wrapper->refcount = (int *)((char *)wrapper->ptr +
>>>>>>refcount_offset);
>>>>>>+    refcount_pos = (char *)wrapper->ptr + refcount_offset;
>>>>>>+    wrapper->refcount = (int *) DISCARD_ALIGN(refcount_pos);
>>>>>                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>>>>It looks like macro DISCARD_ALIGN can be extended to in similar way
>>>>>like a
>>>>>talloc_zero(const void *ptr, #type);
>>>>>
>>>>>LS
>>>>
>>>>Makes sense. Patch 2 adds this parameter.
>>>>
>>>>Michal
>>>>
>>>
>>>Rebased and added one patch for VTABLE_FUNC macro.
>>>
>>>Michal
>>>
>>
3x ACK

LS
_______________________________________________
sssd-devel mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel

Reply via email to