Re: powerpc: hv{cs, si}_close() both unsigned hp->count andhvcsd->open_count cannot be negative

From: Paul Mackerras
Date: Sun Nov 30 2008 - 16:27:17 EST


Alan Cox writes:

> See the tty_port patches in -next - this is an argument about code which
> ought eventually to go away replaced by standard helper functions.

OK. In that case I think the best fix for the existing code is just
to change the count to be int rather than unsigned int.

Paul.
--
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/