Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752879AbbF1N2P (ORCPT ); Sun, 28 Jun 2015 09:28:15 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:56535 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752719AbbF1N16 (ORCPT ); Sun, 28 Jun 2015 09:27:58 -0400 X-Sasl-enc: DbySnjaXwltpQTl6fNQsUoPWJDwO9HFADzmENu2jXrX+ 1435497480 From: Sergei Zviagintsev To: Greg Kroah-Hartman , Daniel Mack , David Herrmann , Djalal Harouni Cc: linux-kernel@vger.kernel.org, Sergei Zviagintsev Subject: [PATCH RFC 0/5] kdbus: minor quota code improvements Date: Sun, 28 Jun 2015 16:17:29 +0300 Message-Id: <1435497454-10464-1-git-send-email-sergei@s15v.net> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 978 Lines: 28 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/