Re: [PATCH net] sctp: fix pr_warn max_data argument type mismatch

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

 



On 2018-12-06 09:03, David Miller wrote:

> From: Jakub Audykowicz <jakub.audykowicz@xxxxxxxxx>
> Date: Thu,  6 Dec 2018 08:58:37 +0100
>
>> My previous patch introduced a compilation warning regarding a type
>> mismatch (int vs size_t). This is a one-letter fix for good housekeeping.
>>
>> Signed-off-by: Jakub Audykowicz <jakub.audykowicz@xxxxxxxxx>
> Still wrong and I fixed it when I applied your patch.
>
> You need to use the 'Z' prefix for size_t, so %Zu in this case.

Right, I just realized that as well, thanks!




[Index of Archives]     [Linux Networking Development]     [Linux OMAP]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux