Hello Greg,
On Sat, Jul 7, 2012 at 2:27 AM, Greg Kroah-Hartman
wrote:
> On Wed, Jul 04, 2012 at 01:37:07AM +0300, Eduardo Valentin wrote:
>> In the System Control Module, OMAP supplies a voltage reference
>> and a temperature sensor feature that are gathered in the band
>> gap voltage and tempera
The following warning is fixed up.
drivers/staging/rts_pstor/sd.c:190: WARNING: braces {} are not necessary for
single statement blocks
Signed-off-by: Devendra Naga
---
drivers/staging/rts_pstor/sd.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rts_
for if else statements having single block no braces are needed
fixed the following checkpatch warning
drivers/staging/rts_pstor/sd.c:140: WARNING: braces {} are not necessary for
any arm of this statement
Signed-off-by: Devendra Naga
---
drivers/staging/rts_pstor/sd.c |5 ++---
1 file cha
This is a patch to the ashmem.c file that fixes up several pr_info and pr_err
warnings found by the checkpath.pl tool
Signed-off-by: Pablo Vazquez Rodriguez
---
drivers/staging/android/ashmem.c | 13 +++--
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/
On Fri, 6 Jul 2012, Greg Kroah-Hartman wrote:
> On Wed, Jun 27, 2012 at 09:19:15PM +0200, Jesper Juhl wrote:
> > My previous 14 patch series to vt6656 missed a few bits and
> > pieces. This mops up the last few obvious style issues.
> > It is quite short and completely trivial - simply deletes a f
On Fri, 2012-07-06 at 14:25 -0700, Haiyang Zhang wrote:
> This adds support for setting synthetic NIC MAC address from within Linux
> guests. Before using this feature, the option "spoofing of MAC address"
> should be enabled at the Hyper-V manager / Settings of the synthetic
> NIC.
[...]
> +int rn
On Wed, Jul 04, 2012 at 01:37:07AM +0300, Eduardo Valentin wrote:
> In the System Control Module, OMAP supplies a voltage reference
> and a temperature sensor feature that are gathered in the band
> gap voltage and temperature sensor (VBGAPTS) module. The band
> gap provides current and voltage ref
On Fri, Jun 29, 2012 at 01:49:16PM -0500, Omar Ramirez Luna wrote:
> This fixes the compilation warnings that have been showing up lately.
>
> Omar Ramirez Luna (5):
> staging: tidspbridge: add pud code
> staging: tidspbridge: split bridge_io_on_loaded
> staging: tidspbridge: dynamically all
On Fri, Jun 29, 2012 at 07:48:45PM +0200, Pablo Vázquez wrote:
> Ok, added the #define pr_fmt(fmt) ...
You sent this in HTML format, makeing it impossible to apply :(
Care to try it again?
thanks,
greg k-h
___
devel mailing list
devel@linuxdriverproje
On Wed, Jun 27, 2012 at 09:19:15PM +0200, Jesper Juhl wrote:
> My previous 14 patch series to vt6656 missed a few bits and
> pieces. This mops up the last few obvious style issues.
> It is quite short and completely trivial - simply deletes a few blank
> lines, does some whitespace cleanup around o
On Wed, Jun 27, 2012 at 02:10:15PM +0200, Javier M. Mellid wrote:
> From: "Javier M. Mellid"
>
> This patch erases hardcode cast between smtcfb_info and fb_info in order
> to get a more robust and less rigid smtcfb_info structure. fb_info
> doesn't need to be the first field in smtcfb_info after
This adds support for setting synthetic NIC MAC address from within Linux
guests. Before using this feature, the option "spoofing of MAC address"
should be enabled at the Hyper-V manager / Settings of the synthetic
NIC.
Thanks to Kin Cho for the initial implementation and
tests. And, thanks to Lo
On Fri, Jul 6, 2012 at 6:54 PM, Daniel Hazelton wrote:
>>> --- a/drivers/staging/ccg/ccg.c
>>> +++ b/drivers/staging/ccg/ccg.c
>>> @@ -564,9 +564,7 @@ static int rndis_function_bind_config(struct
>>> ccg_usb_function *f,
>>> return -1;
>>> }
>>>
>>> - pr_info("%s MAC
On 07/06/2012 11:32 AM, Kyungmin Park wrote:
> Acked-by: Kyungmin Park
>
> On Sat, Jul 7, 2012 at 12:28 AM, Andy Shevchenko
> wrote:
>> Signed-off-by: Andy Shevchenko
>> Cc: Kyungmin Park
>> ---
>> drivers/staging/ccg/ccg.c |8 ++--
>> 1 file changed, 2 insertions(+), 6 deletions(-)
>>
Signed-off-by: Andy Shevchenko
Acked-by: Kyungmin Park
Cc: Andrzej Pietrasiewicz
---
drivers/staging/ccg/ccg.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging/ccg/ccg.c
index a5b36a9..c77c465 100644
--- a/drivers/staging
Acked-by: Kyungmin Park
On Sat, Jul 7, 2012 at 12:28 AM, Andy Shevchenko
wrote:
> Signed-off-by: Andy Shevchenko
> Cc: Kyungmin Park
> ---
> drivers/staging/ccg/ccg.c |8 ++--
> 1 file changed, 2 insertions(+), 6 deletions(-)
>
> diff --git a/drivers/staging/ccg/ccg.c b/drivers/stagin
Signed-off-by: Andy Shevchenko
Cc: Kyungmin Park
---
drivers/staging/ccg/ccg.c |8 ++--
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging/ccg/ccg.c
index a5b36a9..62f5d92 100644
--- a/drivers/staging/ccg/ccg.c
+++ b/drivers/staging/
Signed-off-by: Andy Shevchenko
Cc: Forest Bond
Cc: Masanari Iida
---
drivers/staging/vt6655/bssdb.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/vt6655/bssdb.c b/drivers/staging/vt6655/bssdb.c
index 1368e8c..f4f108f 100644
--- a/drivers/staging/vt6
Signed-off-by: Andy Shevchenko
Cc: Kevin McKinney
---
drivers/staging/bcm/CmHost.c | 44 +++---
1 file changed, 16 insertions(+), 28 deletions(-)
diff --git a/drivers/staging/bcm/CmHost.c b/drivers/staging/bcm/CmHost.c
index 189d243..9c8c9b1 100644
--- a/dr
Signed-off-by: Andy Shevchenko
Cc: Ben Chan
---
drivers/staging/gdm72xx/gdm_wimax.c |9 ++---
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/drivers/staging/gdm72xx/gdm_wimax.c
b/drivers/staging/gdm72xx/gdm_wimax.c
index 110bdbc..e616de1 100644
--- a/drivers/staging/gdm72
Signed-off-by: Andy Shevchenko
Cc: Marcos Paulo de Souza
---
drivers/staging/vt6656/bssdb.c |9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/vt6656/bssdb.c b/drivers/staging/vt6656/bssdb.c
index 619c257..0999367 100644
--- a/drivers/staging/vt6656/b
Signed-off-by: Andy Shevchenko
Cc: Lauri Hintsala
---
drivers/staging/csr/sme_mgt.c | 10 ++
drivers/staging/csr/sme_sys.c | 29
drivers/staging/csr/sme_wext.c | 27 ++
drivers/staging/csr/un
On 07/04/2012 03:43 PM, Konrad Rzeszutek Wilk wrote:
> On Mon, Jul 02, 2012 at 04:15:48PM -0500, Seth Jennings wrote:
>> This exposed an interesting and unexpected result: in all
>> cases that I tried, copying the objects that span pages instead
>> of using the page table to map them, was _always_
From: David Murray
Fixed a tiny checkpatch.pl warning.
Signed-off-by: David Murray
---
drivers/staging/ccg/ccg.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/ccg/ccg.c b/drivers/staging/ccg/ccg.c
index a5b36a9..c50fa02 100644
--- a/drivers/staging/ccg/
On Fri, Jul 06, 2012 at 11:32:51AM +0100, Martyn Welch wrote:
> On 06/07/12 09:15, Dan Carpenter wrote:
> > We don't use the "bus" array or the "bus_num" variable which store the
> > number of elements in the array. The only user was removed in
> > 5d6abf379d ('staging: vme: make match() driver sp
Fix small coding style warnings in several files.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main_26.c |3 +-
drivers/staging/xgifb/vb_init.c |3 +-
drivers/staging/xgifb/vb_setmode.c | 59 +--
drivers/staging/xgifb/vb_table.h|
Rework some conditions to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 44 +++-
1 file changed, 18 insertions(+), 26 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/stagi
Rework some conditions to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 83
1 file changed, 36 insertions(+), 47 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/stagi
Refactor XGI_GetVBType() to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 69 +++-
1 file changed, 36 insertions(+), 33 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/sta
Remove last if branch in XGIfb_do_set_var(), as it has no action assigned.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main_26.c |2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index 0f49a21..64ffd70
Rework some conditions to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 287 ++--
1 file changed, 142 insertions(+), 145 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/sta
Refactor some conditions to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 73
1 file changed, 25 insertions(+), 48 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/sta
Rework some conditions to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 28 ++--
1 file changed, 10 insertions(+), 18 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/staging/xgifb
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main_26.c | 34 +-
drivers/staging/xgifb/vb_init.c |4 ++--
2 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_init.c |4
1 file changed, 4 deletions(-)
diff --git a/drivers/staging/xgifb/vb_init.c b/drivers/staging/xgifb/vb_init.c
index 64935fa..ae10153 100644
--- a/drivers/staging/xgifb/vb_init.c
+++ b/drivers/staging/xgifb/vb_init.c
@@
Use a goto to remove one level of indentation, fixing style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 61 ++--
1 file changed, 31 insertions(+), 30 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/stag
Rework some conditions to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 19 ---
1 file changed, 8 insertions(+), 11 deletions(-)
diff --git a/drivers/staging/xgifb/vb_setmode.c
b/drivers/staging/xgifb/vb_setmod
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main_26.c |8 +++-
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index c1aa037..e5657ff 100644
--- a/drivers/staging/xgifb/XGI_main_26.c
+++
Simplify the code and make it more readable.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main_26.c | 27 +--
1 file changed, 9 insertions(+), 18 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index 788
The piece of code that checks for LCDA in xgifb_probe() just checks for some
register values but doesn't really do anything in response to them (the actions
that should be executed are commented).
As nothing is really being done, the code can be safely removed.
Signed-off-by: Miguel Gómez
---
dr
LCD_TYPEs are taken from drivers/video/sis/sis.h, so this enumeration is not
needed.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vgatypes.h | 34 --
1 file changed, 34 deletions(-)
diff --git a/drivers/staging/xgifb/vgatypes.h b/drivers/staging/xgifb/
The switch performs no action so it can be removed.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main_26.c | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
index d5c87ea..788d141 100644
--- a/
Struct _chswtable and the variable mychswtable are not used anywhere, so remove
them.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main.h | 10 --
1 file changed, 10 deletions(-)
diff --git a/drivers/staging/xgifb/XGI_main.h b/drivers/staging/xgifb/XGI_main.h
index 1686c5
Remove commented code and useless comments. Leave only those with relevant
hints to the code.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/XGI_main.h|4 -
drivers/staging/xgifb/XGI_main_26.c | 133 --
drivers/staging/xgifb/XGIfb.h |8 +-
dr
Hi!
Second version of the patches round containing suggestions made
to the first version:
* patch 0001:
** keep some useful comments.
** format a couple of multiline comments
** don't remove empty lines in vb_util.h and vb_init.h
* patch 0005:
** remove exclamation marks from a string
* patch 0
On 06/07/12 09:21, Dan Carpenter wrote:
> Sparse complains that "arg" is not a __user pointer. The "argp" and
> "arg" variables are equivalent but argp is declared as a __user pointer.
>
> Signed-off-by: Dan Carpenter
>
> diff --git a/drivers/staging/vme/devices/vme_user.c
> b/drivers/staging/
On 06/07/12 09:15, Dan Carpenter wrote:
> We don't use the "bus" array or the "bus_num" variable which store the
> number of elements in the array. The only user was removed in
> 5d6abf379d ('staging: vme: make match() driver specific to improve
> non-VME64x support').
>
Hmm, without a parameter
On Fri, Jul 06, 2012 at 11:04:15AM +0200, Miguel Gómez wrote:
> >On Thu, Jul 05, 2012 at 04:45:58PM +0200, Miguel Gómez wrote:
> >>Rework some conditions to reduce indentation and fix style warnings.
> >>
> >>Signed-off-by: Miguel Gómez
> >>---
> >> drivers/staging/xgifb/vb_setmode.c | 29 +
On Thu, Jul 05, 2012 at 04:45:58PM +0200, Miguel Gómez wrote:
Rework some conditions to reduce indentation and fix style warnings.
Signed-off-by: Miguel Gómez
---
drivers/staging/xgifb/vb_setmode.c | 29 -
1 file changed, 12 insertions(+), 17 deletions(-)
diff
Sparse complains that "arg" is not a __user pointer. The "argp" and
"arg" variables are equivalent but argp is declared as a __user pointer.
Signed-off-by: Dan Carpenter
diff --git a/drivers/staging/vme/devices/vme_user.c
b/drivers/staging/vme/devices/vme_user.c
index be198c0..4363ed5 100644
-
On Fri, Jul 06, 2012 at 10:16:36AM +0200, Miguel Gómez wrote:
> >On Thu, Jul 05, 2012 at 04:46:00PM +0200, Miguel Gómez wrote:
> >>Rework some conditions to reduce indentation and fix style warnings.
> >>
> >
> >Instead of a do { } while(0); it would be better to just use gotos.
>
> Point taken. I
On Thu, Jul 05, 2012 at 04:46:00PM +0200, Miguel Gómez wrote:
Rework some conditions to reduce indentation and fix style warnings.
Instead of a do { } while(0); it would be better to just use gotos.
Point taken. I used the do-while because I didn't want to abuse gotos,
but if there's no pro
We don't use the "bus" array or the "bus_num" variable which store the
number of elements in the array. The only user was removed in
5d6abf379d ('staging: vme: make match() driver specific to improve
non-VME64x support').
Signed-off-by: Dan Carpenter
diff --git a/drivers/staging/vme/devices/vme
This is sent as:
Content-Transfer-Encoding: base64
Which sucks...
... weird... not sure why send-email decided to use base64 instead of
8bit... when I finish with the proposed changes I'll send the whole
round again removing that base64.
Regards! :)
--
Miguel Gómez
Igalia - http://www.iga
Hi!
On Thu, Jul 05, 2012 at 04:45:58PM +0200, Miguel Gómez wrote:
+ if ((pVBInfo->VBType & VB_SIS301LV) &&
+ !(pVBInfo->TVInfo & TVSetHiVision)) {
+ if ((pVBInfo->TVInfo & TVSimuMode) &&
+ (pVBInfo->TVInfo & TVSetPA
Hi!
On Thu, Jul 05, 2012 at 04:45:48PM +0200, Miguel Gómez wrote:
if (!htotal || !vtotal) {
- pr_debug("XGIfb: Invalid 'var' information\n");
+ pr_debug("Invalid 'var' information\n");
[...]
- pr_err("xgifb: invalid value for option: %s\n", fu
Hi!
diff --git a/drivers/staging/xgifb/XGI_main_26.c
b/drivers/staging/xgifb/XGI_main_26.c
[]
@@ -1,9 +1,3 @@
-/*
- * XG20, XG21, XG40, XG42 frame buffer device
- * for Linux kernels 2.5.x, 2.6.x
- * Base on TW's sis fbdev code.
- */
Maybe the comment removal is a bit aggressive.
Perhaps t
Hi!
Some minor comments below:
-/*
- * XG20, XG21, XG40, XG42 frame buffer device
- * for Linux kernels 2.5.x, 2.6.x
- * Base on TW's sis fbdev code.
A lot of code was copy-pasted from Thomas Winischhofer's sisfb driver,
I'm not sure if it's OK to remove the credit...?
You're right. I'll
On Thu, Jul 05, 2012 at 04:46:01PM +0200, Miguel Gómez wrote:
> diff --git a/drivers/staging/xgifb/vb_table.h
> b/drivers/staging/xgifb/vb_table.h
> index ca8c68d..e8467ca 100644
> --- a/drivers/staging/xgifb/vb_table.h
> +++ b/drivers/staging/xgifb/vb_table.h
> @@ -1838,9 +1838,9 @@ static struct
59 matches
Mail list logo