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


Groups > linux.kernel > #1327356 > unrolled thread

[PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant

Started by"Pablo G. Gallardo" <pggllrd@gmail.com>
First post2016-02-05 00:50 +0100
Last post2016-02-05 11:30 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant "Pablo G. Gallardo" <pggllrd@gmail.com> - 2016-02-05 00:50 +0100
    [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters "Pablo G. Gallardo" <pggllrd@gmail.com> - 2016-02-05 01:10 +0100
      Re: [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters Ian Abbott <abbotti@mev.co.uk> - 2016-02-05 11:30 +0100
    Re: [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of  c90 int constant Ian Abbott <abbotti@mev.co.uk> - 2016-02-05 11:30 +0100

#1327356 — [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant

From"Pablo G. Gallardo" <pggllrd@gmail.com>
Date2016-02-05 00:50 +0100
Subject[PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant
Message-ID<qYBOV-xk-5@gated-at.bofh.it>
This patch removes unnecessary typecast of c90 int constant.

Signed-off-by: Pablo G. Gallardo <pggllrd@gmail.com>
---
 drivers/staging/comedi/comedi.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
index 83bd309..f0d1b15 100644
--- a/drivers/staging/comedi/comedi.h
+++ b/drivers/staging/comedi/comedi.h
@@ -516,7 +516,7 @@ struct comedi_bufinfo {
 #define UNIT_mA			1
 #define UNIT_none		2
 
-#define COMEDI_MIN_SPEED	((unsigned int)0xffffffff)
+#define COMEDI_MIN_SPEED	0xffffffffu
 
 /**********************************************************/
 /* everything after this line is ALPHA */
-- 
2.7.0

[toc] | [next] | [standalone]


#1327362 — [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters

From"Pablo G. Gallardo" <pggllrd@gmail.com>
Date2016-02-05 01:10 +0100
Subject[PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters
Message-ID<qYC8h-U0-9@gated-at.bofh.it>
In reply to#1327356
This patch wraps lines over 80 characters.

Signed-off-by: Pablo G. Gallardo <pggllrd@gmail.com>
---
 drivers/staging/comedi/comedi_pcmcia.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/staging/comedi/comedi_pcmcia.h b/drivers/staging/comedi/comedi_pcmcia.h
index 5d3db2b..5a572c2 100644
--- a/drivers/staging/comedi/comedi_pcmcia.h
+++ b/drivers/staging/comedi/comedi_pcmcia.h
@@ -39,7 +39,8 @@ void comedi_pcmcia_driver_unregister(struct comedi_driver *,
 				     struct pcmcia_driver *);
 
 /**
- * module_comedi_pcmcia_driver() - Helper macro for registering a comedi PCMCIA driver
+ * module_comedi_pcmcia_driver() - Helper macro for registering a comedi
+ * PCMCIA driver
  * @__comedi_driver: comedi_driver struct
  * @__pcmcia_driver: pcmcia_driver struct
  *
-- 
2.7.0

[toc] | [prev] | [next] | [standalone]


#1327596 — Re: [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters

FromIan Abbott <abbotti@mev.co.uk>
Date2016-02-05 11:30 +0100
SubjectRe: [PATCH v2 2/2] STAGING: COMEDI: Wrap line over 80 characters
Message-ID<qYLOi-7mC-15@gated-at.bofh.it>
In reply to#1327362
On 04/02/16 23:43, Pablo G. Gallardo wrote:
> This patch wraps lines over 80 characters.
>
> Signed-off-by: Pablo G. Gallardo <pggllrd@gmail.com>
> ---
>   drivers/staging/comedi/comedi_pcmcia.h | 3 ++-
>   1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/staging/comedi/comedi_pcmcia.h b/drivers/staging/comedi/comedi_pcmcia.h
> index 5d3db2b..5a572c2 100644
> --- a/drivers/staging/comedi/comedi_pcmcia.h
> +++ b/drivers/staging/comedi/comedi_pcmcia.h
> @@ -39,7 +39,8 @@ void comedi_pcmcia_driver_unregister(struct comedi_driver *,
>   				     struct pcmcia_driver *);
>
>   /**
> - * module_comedi_pcmcia_driver() - Helper macro for registering a comedi PCMCIA driver
> + * module_comedi_pcmcia_driver() - Helper macro for registering a comedi
> + * PCMCIA driver
>    * @__comedi_driver: comedi_driver struct
>    * @__pcmcia_driver: pcmcia_driver struct
>    *
>

Thanks!

Reviewed-by: Ian Abbott <abbotti@mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-

[toc] | [prev] | [next] | [standalone]


#1327592 — Re: [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant

FromIan Abbott <abbotti@mev.co.uk>
Date2016-02-05 11:30 +0100
SubjectRe: [PATCH v2 1/2] STAGING: COMEDI: Remove unnecessary typecast of c90 int constant
Message-ID<qYLOi-7mC-1@gated-at.bofh.it>
In reply to#1327356
On 04/02/16 23:43, Pablo G. Gallardo wrote:
> This patch removes unnecessary typecast of c90 int constant.
>
> Signed-off-by: Pablo G. Gallardo <pggllrd@gmail.com>
> ---
>   drivers/staging/comedi/comedi.h | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/comedi/comedi.h b/drivers/staging/comedi/comedi.h
> index 83bd309..f0d1b15 100644
> --- a/drivers/staging/comedi/comedi.h
> +++ b/drivers/staging/comedi/comedi.h
> @@ -516,7 +516,7 @@ struct comedi_bufinfo {
>   #define UNIT_mA			1
>   #define UNIT_none		2
>
> -#define COMEDI_MIN_SPEED	((unsigned int)0xffffffff)
> +#define COMEDI_MIN_SPEED	0xffffffffu
>
>   /**********************************************************/
>   /* everything after this line is ALPHA */
>

Thanks.

Reviewed-by: Ian Abbott <abbotti@mev.co.uk>

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@mev.co.uk> )=-
-=(                          Web: http://www.mev.co.uk/  )=-

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web