Re: [PATCH v7 1/8] btrfs: added helper functions to iterate backrefs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> +	alloc_bytes = max((unsigned long)total_bytes, sizeof(*data));
> 
> The return type of sizeof() is unsigned int, so this will cause compile
> warning.
> 
> We can use max_t() instead.
> 

correct: type of sizeof is size_t (so may or may not be unsigned long)
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux