This patch replaces bit shifting on 1 with the BIT(x) macro
Signed-off-by: Sunny Kumar
---
drivers/staging/rdma/hfi1/user_sdma.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/user_sdma.c
b/drivers/staging/rdma/hfi1/user_sdma.c
index
This patch replaces bit shifting on 1 with the BIT(x) macro
Signed-off-by: Sunny Kumar
---
drivers/staging/rdma/hfi1/user_sdma.c | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/rdma/hfi1/user_sdma.c
b/drivers/staging/rdma/hfi1/user_sdma.c
index
According to Documentation/timers/timers-howto.txt"
udelay() is only called once from a place where sleeping is allowed.
We can replace it with a call to usleep_range()
with a reasonable upper limit.
This is new version of patch created after discussion.
Signed-off-by: Sunny Kumar
---
dr
On Fri, Jun 26, 2015 at 10:08:42AM -0400, Alan Stern wrote:
> On Fri, 26 Jun 2015, Sunny Kumar wrote:
>
> > This patch fixes checkpatch.pl warning c99 style commenting.
> >
> > Signed-off-by: Sunny Kumar
> > ---
> > drivers/usb/storage/sddr55.c | 16 +++
This patch fixes checkpatch.pl warning c99 style commenting.
Signed-off-by: Sunny Kumar
---
drivers/usb/storage/sddr55.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/usb/storage/sddr55.c b/drivers/usb/storage/sddr55.c
index aacedef..54d0a59 100644
According to Documentation/timers/timers-howto.txt"
udelay() is only called once from a place where sleeping is allowed.
We can replace it with a call to usleep_range()
with a reasonable upper limit.
Signed-off-by: Sunny Kumar
---
drivers/usb/storage/transport.c | 2 +-
1 file chang
Ok then,
This might be the final lower and upper limit value.
Sunny Kumar
On Wed, Jun 24, 2015 at 12:24:29PM +0530, Sunny Kumar wrote:
> According to Documentation/timers/timers-howto.txt"
> udelay() is only called once from a place where sleeping is allowed.
> We can replace it
Ok so what about putting lower limit to 125 and increase upper limit 200
Sunny
On Wed, Jun 24, 2015 at 12:24:29PM +0530, Sunny Kumar wrote:
> According to Documentation/timers/timers-howto.txt"
> udelay() is only called once from a place where sleeping is allowed.
> We can rep
According to Documentation/timers/timers-howto.txt"
udelay() is only called once from a place where sleeping is allowed.
We can replace it with a call to usleep_range()
with a reasonable upper limit.
Signed-off-by: Sunny Kumar
---
drivers/usb/storage/transport.c | 2 +-
1 file chang
9 matches
Mail list logo