Messages in this thread | | | Subject | Re: [PATCH 1/6] GenWQE PCI support, health monitoring and recovery | From | Frank Haverkamp <> | Date | Thu, 05 Dec 2013 13:44:25 +0100 |
| |
Hi Arnd,
Am Donnerstag, den 05.12.2013, 03:27 +0100 schrieb Arnd Bergmann: > On Wednesday 04 December 2013, Frank Haverkamp wrote: > > Am Dienstag, den 03.12.2013, 15:28 +0100 schrieb Frank Haverkamp: > > > + */ > > > +struct genwqe_mem { > > > + unsigned long addr; > > > + unsigned long size; > > > + int direction; > > > +}; > > > + > > > +#define GENWQE_PIN_MEM _IOWR(GENWQE_IOC_CODE, 40, struct > > > genwqe_mem *) > > > +#define GENWQE_UNPIN_MEM _IOWR(GENWQE_IOC_CODE, 41, struct > > > genwqe_mem *) > > > + > > > > Before someone comments on the unsigned long and the 32/64 bit issues > > with it. I need to fix that. > > Also the extraneous '*' in the definitions.
Ok, I will remove the '*' and just put the structs there.
> > Arnd > Regards
Frank
| |