Re: [PATCH] ALSA: firewire-lib: fix inappropriate assignment between signed/unsigned type

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

 



On Fri, 14 Apr 2017 05:43:01 +0200,
Takashi Sakamoto wrote:
> 
> An abstraction of asynchronous transaction for transmission of MIDI
> messages was introduced in Linux v4.4. Each driver can utilize this
> abstraction to transfer MIDI messages via fixed-length payload of
> transaction to a certain unit address. Filling payload of the transaction
> is done by callback. In this callback, each driver can return negative
> error code, however current implementation assigns the return value to
> unsigned variable.
> 
> This commit changes type of the variable to fix the bug.
> 
> Reported-by: Julia Lawall <Julia.Lawall@xxxxxxx>
> Cc: <stable@xxxxxxxxxxxxxxx> # 4.4+
> Fixes: 585d7cba5e1f ("ALSA: firewire-lib: add helper functions for asynchronous transactions to transfer MIDI messages")
> Signed-off-by: Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>

Applied, thanks.


Takashi



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]