Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1583899 > unrolled thread
| Started by | Arushi Singhal <arushisinghal19971997@gmail.com> |
|---|---|
| First post | 2017-02-18 14:30 +0100 |
| Last post | 2017-02-18 14:40 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] staging: xgifb: function definition argument should also have an identifier name' Arushi Singhal <arushisinghal19971997@gmail.com> - 2017-02-18 14:30 +0100
Re: [Outreachy kernel] [PATCH] staging: xgifb: function definition argument should also have an identifier name' Julia Lawall <julia.lawall@lip6.fr> - 2017-02-18 14:40 +0100
| From | Arushi Singhal <arushisinghal19971997@gmail.com> |
|---|---|
| Date | 2017-02-18 14:30 +0100 |
| Subject | [PATCH] staging: xgifb: function definition argument should also have an identifier name' |
| Message-ID | <tcdfk-2q9-1@gated-at.bofh.it> |
function definition argument 'struct vb_device_info *' and 'unsigned long' should also have an identifier name. Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> --- drivers/staging/xgifb/vb_init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/xgifb/vb_init.h b/drivers/staging/xgifb/vb_init.h index 500cabe41a3c..e4929314d33e 100644 --- a/drivers/staging/xgifb/vb_init.h +++ b/drivers/staging/xgifb/vb_init.h @@ -1,6 +1,6 @@ #ifndef _VBINIT_ #define _VBINIT_ unsigned char XGIInitNew(struct pci_dev *pdev); -void XGIRegInit(struct vb_device_info *, unsigned long); +void XGIRegInit(struct vb_device_info *pVBInfo, unsigned long BaseAddr); #endif -- 2.11.0
[toc] | [next] | [standalone]
| From | Julia Lawall <julia.lawall@lip6.fr> |
|---|---|
| Date | 2017-02-18 14:40 +0100 |
| Subject | Re: [Outreachy kernel] [PATCH] staging: xgifb: function definition argument should also have an identifier name' |
| Message-ID | <tcdp0-2tj-11@gated-at.bofh.it> |
| In reply to | #1583899 |
On Sat, 18 Feb 2017, Arushi Singhal wrote: > function definition argument 'struct vb_device_info *' and 'unsigned > long' should also have an identifier name. This could be a bit more clear as "Add variable names to function prototype parameter list." > > Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com> > --- > drivers/staging/xgifb/vb_init.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/xgifb/vb_init.h b/drivers/staging/xgifb/vb_init.h > index 500cabe41a3c..e4929314d33e 100644 > --- a/drivers/staging/xgifb/vb_init.h > +++ b/drivers/staging/xgifb/vb_init.h > @@ -1,6 +1,6 @@ > #ifndef _VBINIT_ > #define _VBINIT_ > unsigned char XGIInitNew(struct pci_dev *pdev); > -void XGIRegInit(struct vb_device_info *, unsigned long); > +void XGIRegInit(struct vb_device_info *pVBInfo, unsigned long BaseAddr); Actually, you should use the same names as found in the definition of the function, which seem to be: void XGIRegInit(struct vb_device_info *XGI_Pr, unsigned long BaseAddr) julia > #endif > > -- > 2.11.0 > > -- > You received this message because you are subscribed to the Google Groups "outreachy-kernel" group. > To unsubscribe from this group and stop receiving emails from it, send an email to outreachy-kernel+unsubscribe@googlegroups.com. > To post to this group, send email to outreachy-kernel@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20170218132356.GA4907%40arushi-HP-Pavilion-Notebook. > For more options, visit https://groups.google.com/d/optout. >
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web