Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type

From: Greg KH
Date: Tue Mar 07 2017 - 14:01:50 EST


On Sun, Mar 05, 2017 at 03:22:32AM +0800, Cheah Kok Cheong wrote:
> Change to unsigned to allow removal of negative value check in
> init section.

Why?

> Use smaller data type since the max possible value currently is 48.

Does it matter?

thanks,

greg k-h