Re: [PATCH 5/6] staging: dgap: unwind on error in dgap_tty_register_ports()

From: Dan Carpenter
Date: Mon Jun 02 2014 - 03:58:09 EST


On Mon, Jun 02, 2014 at 02:08:24PM +0900, Daeseok Youn wrote:
> @@ -4177,12 +4183,46 @@ static int dgap_tty_register_ports(struct board_t *brd)
> brd->print_driver,
> brd->firstminor + i, NULL);

Btw, the "brd->firstminor + i" should just be "i".

TODO-list: 2014-06-02: dgap: get rid of brd->first minor because it is 0

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/