All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int
@ 2019-03-23 11:34 Bharath Vedartham
  2019-03-24  8:58 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Bharath Vedartham @ 2019-03-23 11:34 UTC (permalink / raw)
  To: gregkh, christian, neil; +Cc: devel, linux-kernel

Fix the checkpatch.pl warning: "Use unsigned int instead of unsigned".

Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
---
 drivers/staging/ralink-gdma/ralink-gdma.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/ralink-gdma/ralink-gdma.c b/drivers/staging/ralink-gdma/ralink-gdma.c
index 0b831f8..523c39e 100644
--- a/drivers/staging/ralink-gdma/ralink-gdma.c
+++ b/drivers/staging/ralink-gdma/ralink-gdma.c
@@ -162,7 +162,7 @@ static inline u32 gdma_dma_read(struct gdma_dma_dev *dma_dev, unsigned int reg)
 	return readl(dma_dev->base + reg);
 }
 
-static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev, unsigned reg, u32 val)
+static inline void gdma_dma_write(struct gdma_dma_dev *dma_dev, unsigned int reg, u32 val)
 {
 	writel(val, dma_dev->base + reg);
 }
-- 
2.7.4


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

* Re: [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int
  2019-03-23 11:34 [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int Bharath Vedartham
@ 2019-03-24  8:58 ` Greg KH
  2019-03-24  9:37   ` Bharath Vedartham
  2019-03-24  9:49   ` Bharath Vedartham
  0 siblings, 2 replies; 5+ messages in thread
From: Greg KH @ 2019-03-24  8:58 UTC (permalink / raw)
  To: Bharath Vedartham; +Cc: christian, neil, devel, linux-kernel

On Sat, Mar 23, 2019 at 05:04:44PM +0530, Bharath Vedartham wrote:
> Fix the checkpatch.pl warning: "Use unsigned int instead of unsigned".
> 
> Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
> ---
>  drivers/staging/ralink-gdma/ralink-gdma.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

This patch also does not apply at all :(

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

* Re: [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int
  2019-03-24  8:58 ` Greg KH
@ 2019-03-24  9:37   ` Bharath Vedartham
  2019-03-24 12:11     ` Greg KH
  2019-03-24  9:49   ` Bharath Vedartham
  1 sibling, 1 reply; 5+ messages in thread
From: Bharath Vedartham @ 2019-03-24  9:37 UTC (permalink / raw)
  To: Greg KH; +Cc: christian, neil, devel, linux-kernel

On Sun, Mar 24, 2019 at 09:58:42AM +0100, Greg KH wrote:
> On Sat, Mar 23, 2019 at 05:04:44PM +0530, Bharath Vedartham wrote:
> > Fix the checkpatch.pl warning: "Use unsigned int instead of unsigned".
> > 
> > Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
> > ---
> >  drivers/staging/ralink-gdma/ralink-gdma.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> This patch also does not apply at all :(

I have been working on linus's branch and not the staging branch. I
thought that linus's branch would have the latest updates and would be
the latest branch :( . Is it a problem if I use linus's branch for
staging drivers?

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

* Re: [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int
  2019-03-24  8:58 ` Greg KH
  2019-03-24  9:37   ` Bharath Vedartham
@ 2019-03-24  9:49   ` Bharath Vedartham
  1 sibling, 0 replies; 5+ messages in thread
From: Bharath Vedartham @ 2019-03-24  9:49 UTC (permalink / raw)
  To: Greg KH; +Cc: christian, neil, devel, linux-kernel

On Sun, Mar 24, 2019 at 09:58:42AM +0100, Greg KH wrote:
> On Sat, Mar 23, 2019 at 05:04:44PM +0530, Bharath Vedartham wrote:
> > Fix the checkpatch.pl warning: "Use unsigned int instead of unsigned".
> > 
> > Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
> > ---
> >  drivers/staging/ralink-gdma/ralink-gdma.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> This patch also does not apply at all :(
I have sent version 2 based of the latest staging branch.

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

* Re: [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int
  2019-03-24  9:37   ` Bharath Vedartham
@ 2019-03-24 12:11     ` Greg KH
  0 siblings, 0 replies; 5+ messages in thread
From: Greg KH @ 2019-03-24 12:11 UTC (permalink / raw)
  To: Bharath Vedartham; +Cc: christian, neil, devel, linux-kernel

On Sun, Mar 24, 2019 at 03:07:48PM +0530, Bharath Vedartham wrote:
> On Sun, Mar 24, 2019 at 09:58:42AM +0100, Greg KH wrote:
> > On Sat, Mar 23, 2019 at 05:04:44PM +0530, Bharath Vedartham wrote:
> > > Fix the checkpatch.pl warning: "Use unsigned int instead of unsigned".
> > > 
> > > Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
> > > ---
> > >  drivers/staging/ralink-gdma/ralink-gdma.c | 2 +-
> > >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > This patch also does not apply at all :(
> 
> I have been working on linus's branch and not the staging branch. I
> thought that linus's branch would have the latest updates and would be
> the latest branch :( . Is it a problem if I use linus's branch for
> staging drivers?

Yes, if you want to do kernel development, you always need to work off
of the subsystem tree that you are wanting to contribute to, or off of
linux-next.  Development trees can often be 3 months ahead of Linus's
tree depending on the time of the merge window.

The tree should always be listed in the MAINTAINERS file for what one to
use.

hope this helps,

greg k-h

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

end of thread, other threads:[~2019-03-24 12:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-23 11:34 [PATCH] staging: ralink-gdma: Convert unsigned to unsigned int Bharath Vedartham
2019-03-24  8:58 ` Greg KH
2019-03-24  9:37   ` Bharath Vedartham
2019-03-24 12:11     ` Greg KH
2019-03-24  9:49   ` Bharath Vedartham

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.