[PATCH RFC 0/5] kdbus: minor quota code improvements

From: Sergei Zviagintsev
Date: Sun Jun 28 2015 - 09:28:18 EST


Hi,

Main points here are to use conventional types, rewrite tests in obvious
way, add couple of new WARN_ONs and do a bit more work in the others.

Keeping in mind the number of mistakes I made while preparing this
patchset, I decided to mark it as RFC :) I'd appreciate any feedback on
these.


Sergei Zviagintsev (5):
kdbus: fix typos in kdbus_conn_quota_inc()
kdbus: use standard kernel types in struct kdbus_quota
kdbus: do explicit overflow check in kdbus_conn_quota_inc()
kdbus: handle WARN_ON cases properly when decrementing quota
kdbus: improve tests on incrementing quota

ipc/kdbus/connection.c | 44 ++++++++++++++++++++++++++++++--------------
1 file changed, 30 insertions(+), 14 deletions(-)

--
1.8.3.1

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