[PATCH 3/3] nvme: Update several detail information in pel code
Chaitanya Kulkarni
Chaitanya.Kulkarni at wdc.com
Wed Apr 28 19:38:26 BST 2021
On 4/26/21 12:25, wenxiong at linux.vnet.ibm.com wrote:
> +uint64_t int64_to_long(__u8 *data)
> +{
> + int i;
> + uint64_t result = 0;
> +
> + for (i = 0; i < 8; i++) {
> + result *= 256;
> + result += data[7 - i];
> + }
> + return result;
> +}
> +
for a function name int64 to long why the return type is uint64_t ?
More information about the Linux-nvme
mailing list