linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Staging: memrar: fix coding style issues in memrar_handler.c
@ 2010-06-23  3:37 Gustavo Silva
  2010-06-23 22:18 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Gustavo Silva @ 2010-06-23  3:37 UTC (permalink / raw)
  To: gregkh, alan; +Cc: devel, linux-kernel, Gustavo Silva

This is a patch to the memrar_handler.c file that fixes up the following
issues:

ERROR: trailing whitespace
ERROR: code indent should use tabs where possible
WARNING: please, no space before tabs

Signed-off-by: Gustavo Silva <silvagustavo@users.sourceforge.net>
---
 drivers/staging/memrar/memrar_handler.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/memrar/memrar_handler.c b/drivers/staging/memrar/memrar_handler.c
index efa7fd6..cb2840e 100644
--- a/drivers/staging/memrar/memrar_handler.c
+++ b/drivers/staging/memrar/memrar_handler.c
@@ -291,7 +291,7 @@ static int memrar_init_rar_resources(int rarnum, char const *devname)
 	if (rar_get_address(rarnum, &low, &high) != 0)
 		/* No RAR is available. */
 		return -ENODEV;
-	
+
 	if (low == 0 || high == 0) {
 		rar->base      = 0;
 		rar->length    = 0;
@@ -531,7 +531,7 @@ static long memrar_get_stat(struct RAR_stat *r)
 {
 	struct memrar_allocator *allocator;
 
- 	if (!memrar_is_valid_rar_type(r->type))
+	if (!memrar_is_valid_rar_type(r->type))
 		return -EINVAL;
 
 	if (!memrars[r->type].allocated)
-- 
1.7.1


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

* Re: [PATCH] Staging: memrar: fix coding style issues in memrar_handler.c
  2010-06-23  3:37 [PATCH] Staging: memrar: fix coding style issues in memrar_handler.c Gustavo Silva
@ 2010-06-23 22:18 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2010-06-23 22:18 UTC (permalink / raw)
  To: Gustavo Silva; +Cc: gregkh, alan, devel, linux-kernel, Gustavo Silva

On Tue, Jun 22, 2010 at 10:37:33PM -0500, Gustavo Silva wrote:
> This is a patch to the memrar_handler.c file that fixes up the following
> issues:
> 
> ERROR: trailing whitespace
> ERROR: code indent should use tabs where possible
> WARNING: please, no space before tabs

Sorry, someone just sent this one in and I applied it yesterday :(

Care to find some other code in here to clean up?

greg k-h

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

end of thread, other threads:[~2010-06-23 22:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-23  3:37 [PATCH] Staging: memrar: fix coding style issues in memrar_handler.c Gustavo Silva
2010-06-23 22:18 ` 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).