Messages in this thread | | | Date | Sat, 2 Aug 2014 02:15:38 +0200 | From | Pavel Machek <> | Subject | Re: [PATCH 1/3] fpga manager framework core |
| |
Hi!
> +static int fpga_mgr_get_new_minor(struct fpga_manager *mgr, int request_nr) > +{ > + int nr, start; > + > + /* check specified minor number */ > + if (request_nr >= FPGA_MAX_MINORS) { > + dev_err(mgr->parent, "Out of device minors (%d)\n", request_nr); > + return -ENODEV; > + }
if (request_nr < -1) return -EINVAL; ?
> + /* FPGA mangager isr */ > + irqreturn_t (*isr)(int irq, void *dev_id); > +};
"manager"?
Best regards, Pavel
-- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
| |