Re: [PATCH 1/6] ALSA: line6: Improve line6_read/write_data() interfaces

From: Chris Rorvick
Date: Wed Feb 11 2015 - 06:58:12 EST


On Wed, Feb 11, 2015 at 3:33 AM, Takashi Iwai <tiwai@xxxxxxx> wrote:
> At Tue, 10 Feb 2015 23:03:12 -0600,
> Chris Rorvick wrote:
>>
>> Use explicit types to reflect the range of valid values.
>
> Well, this isn't necessarily to be changed at these places. If we
> want to be safer, there should be proper range checks instead.
> Also, readers may wonder when they see the different types between
> read and write without explanations.

Thanks, I'll send a v2 shortly.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/