[PATCH 27/31] build fix: wmi_event and wmi_cmd_rsp should use void *buffer

Adrian Chadd adrian at freebsd.org
Fri Mar 29 12:08:55 EDT 2013


On 29 March 2013 08:52, Oleksij Rempel <linux at rempel-privat.de> wrote:

> Am 29.03.2013 16:22, schrieb Adrian Chadd:
>
>  The only reason they'd use UINT8_t here is so you can byte-offset
>> address buffer.
>>
>> Is buffer being used for anything except as a copy source/destination
>> pointer?
>>
>>
> *buffer passed directly to adf_os_mem_copy without doing extra work on it.
> I do not see any reason to use UINT8_t here.
>

Ok. In that case, it should be fine.

I just wonder whether we should use void * for buffers, or char * for
buffers (hence the UINT8_T type there.)



ADrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/ath9k_htc_fw/attachments/20130329/8a17f1c3/attachment-0001.html>


More information about the Ath9k_htc_fw mailing list