staging: comedi: comedi_compat32.c: align some comments
Align some comments attached to members of the 32-bit compatibility structure definitions. These comments describe the original pointer types that are being represented by a `compat_uptr_t`. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
79b09aac00
Коммит
0ec14885de
|
@ -43,7 +43,7 @@
|
||||||
struct comedi32_chaninfo_struct {
|
struct comedi32_chaninfo_struct {
|
||||||
unsigned int subdev;
|
unsigned int subdev;
|
||||||
compat_uptr_t maxdata_list; /* 32-bit 'unsigned int *' */
|
compat_uptr_t maxdata_list; /* 32-bit 'unsigned int *' */
|
||||||
compat_uptr_t flaglist; /* 32-bit 'unsigned int *' */
|
compat_uptr_t flaglist; /* 32-bit 'unsigned int *' */
|
||||||
compat_uptr_t rangelist; /* 32-bit 'unsigned int *' */
|
compat_uptr_t rangelist; /* 32-bit 'unsigned int *' */
|
||||||
unsigned int unused[4];
|
unsigned int unused[4];
|
||||||
};
|
};
|
||||||
|
@ -66,16 +66,16 @@ struct comedi32_cmd_struct {
|
||||||
unsigned int scan_end_arg;
|
unsigned int scan_end_arg;
|
||||||
unsigned int stop_src;
|
unsigned int stop_src;
|
||||||
unsigned int stop_arg;
|
unsigned int stop_arg;
|
||||||
compat_uptr_t chanlist; /* 32-bit 'unsigned int *' */
|
compat_uptr_t chanlist; /* 32-bit 'unsigned int *' */
|
||||||
unsigned int chanlist_len;
|
unsigned int chanlist_len;
|
||||||
compat_uptr_t data; /* 32-bit 'short *' */
|
compat_uptr_t data; /* 32-bit 'short *' */
|
||||||
unsigned int data_len;
|
unsigned int data_len;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct comedi32_insn_struct {
|
struct comedi32_insn_struct {
|
||||||
unsigned int insn;
|
unsigned int insn;
|
||||||
unsigned int n;
|
unsigned int n;
|
||||||
compat_uptr_t data; /* 32-bit 'unsigned int *' */
|
compat_uptr_t data; /* 32-bit 'unsigned int *' */
|
||||||
unsigned int subdev;
|
unsigned int subdev;
|
||||||
unsigned int chanspec;
|
unsigned int chanspec;
|
||||||
unsigned int unused[3];
|
unsigned int unused[3];
|
||||||
|
@ -83,7 +83,7 @@ struct comedi32_insn_struct {
|
||||||
|
|
||||||
struct comedi32_insnlist_struct {
|
struct comedi32_insnlist_struct {
|
||||||
unsigned int n_insns;
|
unsigned int n_insns;
|
||||||
compat_uptr_t insns; /* 32-bit 'struct comedi_insn *' */
|
compat_uptr_t insns; /* 32-bit 'struct comedi_insn *' */
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Handle translated ioctl. */
|
/* Handle translated ioctl. */
|
||||||
|
|
Загрузка…
Ссылка в новой задаче