linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] staging: vc04_services: Fixed "space prohibited after that open/close parenthesis" erros.
@ 2017-02-23 14:30 Yamanappagouda Patil
  2017-02-23 18:15 ` Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Yamanappagouda Patil @ 2017-02-23 14:30 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, driverdev-devel, Yamanappagouda Patil

Fixed checkpath.pl erros "space prohibited after that open/close parenthesis" in vchiq_version.c file.

Signed-off-by: Yamanappagouda Patil <goudapatilk@gmail.com>
---
 .../vc04_services/interface/vchiq_arm/vchiq_version.c    | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c
index b6bfa21..994b817 100644
--- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c
+++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c
@@ -33,27 +33,27 @@
 #include "vchiq_build_info.h"
 #include <linux/broadcom/vc_debug_sym.h>
 
-VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_hostname, "dc4-arm-01" );
-VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_version, "9245b4c35b99b3870e1f7dc598c5692b3c66a6f0 (tainted)" );
-VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_time,    __TIME__ );
-VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_date,    __DATE__ );
+VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_hostname, "dc4-arm-01");
+VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_version, "9245b4c35b99b3870e1f7dc598c5692b3c66a6f0 (tainted)");
+VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_time,    __TIME__);
+VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_date,    __DATE__);
 
-const char *vchiq_get_build_hostname( void )
+const char *vchiq_get_build_hostname(void)
 {
    return vchiq_build_hostname;
 }
 
-const char *vchiq_get_build_version( void )
+const char *vchiq_get_build_version(void)
 {
    return vchiq_build_version;
 }
 
-const char *vchiq_get_build_date( void )
+const char *vchiq_get_build_date(void)
 {
    return vchiq_build_date;
 }
 
-const char *vchiq_get_build_time( void )
+const char *vchiq_get_build_time(void)
 {
    return vchiq_build_time;
 }
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: vc04_services: Fixed "space prohibited after that open/close parenthesis" erros.
  2017-02-23 14:30 [PATCH] staging: vc04_services: Fixed "space prohibited after that open/close parenthesis" erros Yamanappagouda Patil
@ 2017-02-23 18:15 ` Joe Perches
  2017-02-24 17:41   ` Greg KH
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2017-02-23 18:15 UTC (permalink / raw)
  To: Yamanappagouda Patil, gregkh; +Cc: devel, linux-kernel, driverdev-devel

On Thu, 2017-02-23 at 20:00 +0530, Yamanappagouda Patil wrote:
> Fixed checkpath.pl erros "space prohibited after that open/close parenthesis" in vchiq_version.c file.
> 
> Signed-off-by: Yamanappagouda Patil <goudapatilk@gmail.com>
> ---
>  .../vc04_services/interface/vchiq_arm/vchiq_version.c    | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c
[]
> @@ -33,27 +33,27 @@
>  #include "vchiq_build_info.h"
>  #include <linux/broadcom/vc_debug_sym.h>
>  
> -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_hostname, "dc4-arm-01" );
> -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_version, "9245b4c35b99b3870e1f7dc598c5692b3c66a6f0 (tainted)" );
> -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_time,    __TIME__ );
> -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_date,    __DATE__ );
> +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_hostname, "dc4-arm-01");
> +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_version, "9245b4c35b99b3870e1f7dc598c5692b3c66a6f0 (tainted)");
> +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_time,    __TIME__);
> +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_date,    __DATE__);

Uses of __TIME__ and __DATE__ make it
impossible to have repeatable builds.

Are these __TIME__ and __DATE__ uses
really useful and necessary?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] staging: vc04_services: Fixed "space prohibited after that open/close parenthesis" erros.
  2017-02-23 18:15 ` Joe Perches
@ 2017-02-24 17:41   ` Greg KH
  0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2017-02-24 17:41 UTC (permalink / raw)
  To: Joe Perches; +Cc: Yamanappagouda Patil, devel, linux-kernel, driverdev-devel

On Thu, Feb 23, 2017 at 10:15:55AM -0800, Joe Perches wrote:
> On Thu, 2017-02-23 at 20:00 +0530, Yamanappagouda Patil wrote:
> > Fixed checkpath.pl erros "space prohibited after that open/close parenthesis" in vchiq_version.c file.
> > 
> > Signed-off-by: Yamanappagouda Patil <goudapatilk@gmail.com>
> > ---
> >  .../vc04_services/interface/vchiq_arm/vchiq_version.c    | 16 ++++++++--------
> >  1 file changed, 8 insertions(+), 8 deletions(-)
> > 
> > diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_version.c
> []
> > @@ -33,27 +33,27 @@
> >  #include "vchiq_build_info.h"
> >  #include <linux/broadcom/vc_debug_sym.h>
> >  
> > -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_hostname, "dc4-arm-01" );
> > -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_version, "9245b4c35b99b3870e1f7dc598c5692b3c66a6f0 (tainted)" );
> > -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_time,    __TIME__ );
> > -VC_DEBUG_DECLARE_STRING_VAR( vchiq_build_date,    __DATE__ );
> > +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_hostname, "dc4-arm-01");
> > +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_version, "9245b4c35b99b3870e1f7dc598c5692b3c66a6f0 (tainted)");
> > +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_time,    __TIME__);
> > +VC_DEBUG_DECLARE_STRING_VAR(vchiq_build_date,    __DATE__);
> 
> Uses of __TIME__ and __DATE__ make it
> impossible to have repeatable builds.
> 
> Are these __TIME__ and __DATE__ uses
> really useful and necessary?

No, they need to be removed, but not in this patch :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-24 17:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-23 14:30 [PATCH] staging: vc04_services: Fixed "space prohibited after that open/close parenthesis" erros Yamanappagouda Patil
2017-02-23 18:15 ` Joe Perches
2017-02-24 17:41   ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).