Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1594548

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

From Greg KH <gregkh@linuxfoundation.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type
Date 2017-03-07 20:10 +0100
Message-ID <tisEF-3vi-1@gated-at.bofh.it> (permalink)
References <thnxn-5re-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] Staging: comedi: comedi_fops: Change comedi_num_legacy_minors type Cheah Kok Cheong <thrust73@gmail.com> - 2017-03-04 20:30 +0100
  [PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor numbers for board device files" Cheah Kok Cheong <thrust73@gmail.com> - 2017-03-04 20:30 +0100
    Re: [PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor  numbers for board device files" Dan Carpenter <dan.carpenter@oracle.com> - 2017-03-08 07:00 +0100
      Re: [PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor  numbers for board device files" Cheah Kok Cheong <thrust73@gmail.com> - 2017-03-08 11:20 +0100
        Re: [PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor  numbers for board device files" Ian Abbott <abbotti@mev.co.uk> - 2017-03-08 12:20 +0100
          Re: [PATCH 2/2] Staging: comedi: comedi_fops: Fix "out of minor  numbers for board device files" Cheah Kok Cheong <thrust73@gmail.com> - 2017-03-08 18:10 +0100
  Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change  comedi_num_legacy_minors type Greg KH <gregkh@linuxfoundation.org> - 2017-03-07 20:10 +0100
    Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change  comedi_num_legacy_minors type Greg KH <gregkh@linuxfoundation.org> - 2017-03-08 11:20 +0100
      Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change  comedi_num_legacy_minors type Cheah Kok Cheong <thrust73@gmail.com> - 2017-03-08 11:20 +0100
    Re: [PATCH 1/2] Staging: comedi: comedi_fops: Change  comedi_num_legacy_minors type Cheah Kok Cheong <thrust73@gmail.com> - 2017-03-08 11:40 +0100

csiph-web