Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp9325000imu; Wed, 5 Dec 2018 03:00:05 -0800 (PST) X-Google-Smtp-Source: AFSGD/UodE8aCY1/IG44/GcsTU1ZuA2bZ2kXGlEZNgvsdT+1jm7JKF1h4m4mdYGX6bu3zZ5FDe2a X-Received: by 2002:a17:902:7686:: with SMTP id m6mr24308365pll.179.1544007604953; Wed, 05 Dec 2018 03:00:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544007604; cv=none; d=google.com; s=arc-20160816; b=m01tbpGdkcnnU2fgDZLXi6Z0LK3SUZWLIjE4eZ+ceLZRL79fLNh452EiCnOdWEpBOU eQXTSTMp0NktBC/dT6EbUyWbADFpMUjDna1I6wvOPwE/j8UrR9jahJrAxmm0+kT7y4h3 KD95CwBwb+RK+Kxic4Jp9n3rWEqV9t/7CvYhMohkvJgk/jpHlA/t1Gi2TejKWMJigyVP MMSkRYVdoEQWmxBUFxL5r0/K/tw3X/qbA/BaWb05gGRCX0J4U1S3LNS4nBOBNQMsBow3 hV9LQiyZbiVZtlW4kxzRMmu0RI4tU8Mv9eDgk0lbS92gkPqzMS6OxEx1kWUFq2tUPiAV nasg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ONhM2+gbfdxL8qLyai1eqFvIIhxZsef8Gz+l+kY0ZXQ=; b=OAHdQXVQziBNVZYMey9Ms6h4306ZHm+TYT9APstH5Tpq3LQF9+vVj+bliTXO5EIabU bug+UeWE9iAfjYyNnPK3FabwG+XSKUMiu8PMI+w8TuFGPYaiN+KyiZwx08YYE9uGceDj Ek4CdDcdlPyO9STAXBc2tHALD/GnU4RY8FPI098YiEsPteLHKyT0UUyIS40968M4I0Qi RNEbzV8kQmvPaqdFbWMTsNkH+naHijNKpSsxF3NVrUW63Dbep19BiUuzbCazU1C46kDj BUXKV9r0uUgsjiOyk5kMUxZULpdVOcCGcyLXDYvrN/sgXFcM7XzbZ0Mta6wUTToCpcef odLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OWtvwRHS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k33si17826760pld.374.2018.12.05.02.59.50; Wed, 05 Dec 2018 03:00:04 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=OWtvwRHS; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727419AbeLEK5u (ORCPT + 99 others); Wed, 5 Dec 2018 05:57:50 -0500 Received: from mail.kernel.org ([198.145.29.99]:44884 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727349AbeLEK5t (ORCPT ); Wed, 5 Dec 2018 05:57:49 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6CB9A2081B; Wed, 5 Dec 2018 10:57:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544007468; bh=iNlpqIfGWrh6FJrqfyQgWv9sDFfnmO8A1EAmLJseDzI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=OWtvwRHSayMdCySHpHl+W0mTKrEt0RwBY3S/wWew8/NQGjPgor83oVSFWhgCIJZWP poewgOtcqEe01S24ziSE+8iqSUw6lvemNGo7sSY7QWMAONLWlycufvhBf+lZyhVURV kKXTUd+4i1050PVvczY/5KK/wQgL5dlNHfSmldD4= Date: Wed, 5 Dec 2018 11:57:46 +0100 From: Greg KH To: Todd Kjos Cc: tkjos@google.com, arve@android.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, maco@google.com, joel@joelfernandes.org, kernel-team@android.com Subject: Re: [PATCH] binder: fix sparse warnings on locking context Message-ID: <20181205105746.GA16376@kroah.com> References: <20181203202457.228972-1-tkjos@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181203202457.228972-1-tkjos@google.com> User-Agent: Mutt/1.11.0 (2018-11-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Dec 03, 2018 at 12:24:54PM -0800, Todd Kjos wrote: > Add __acquire()/__release() annnotations to fix warnings > in sparse context checking > > There is one case where the warning was due to a lack of > a "default:" case in a switch statement where a lock was > being released in each of the cases, so the default > case was added. > > Signed-off-by: Todd Kjos You sent out 4 patches here, as a series, but with no numbering so I don't know what order to put them in :( Can you resend them properly numbered so I have a chance to get it right? thanks, greg k-h