Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10791503imu; Thu, 6 Dec 2018 06:53:54 -0800 (PST) X-Google-Smtp-Source: AFSGD/UWudyCXrhTKk2MP/3ADKLLQD2yy+G8LE4rWoGld2AIpPlYwCE+pO+mEUKDo6vYW6fF6mIj X-Received: by 2002:a63:2054:: with SMTP id r20mr24145399pgm.328.1544108034405; Thu, 06 Dec 2018 06:53:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544108034; cv=none; d=google.com; s=arc-20160816; b=pEC7boofvxojGq3BnEtH9PvhuJpUGD2wG/sUfAxpuLLjq8rQJSR6huwi2G4fbFAPkN CH0kzNm9blpPpCDb3QVeWVe1w+j1eFA4waD6bJl7F6J27ssLhSp4raqnyCx29185UPWO 0kb36bSVfULtIPhsnWrdlxqs+kb72bMT8hYJvZjOGyAlM9ZsLrGx/zYT3RUis4K5Ihsr /xz/4rDbeBcxdoJQa5MU4nvZ2T6xtb/rOVVkg0YUSUg93tLXEO08SjLZ7t4gYRBYRXyQ qbUW2UP+txdlv9yH48wm6rGHu/x+U97GJd4/WJS4wLwWuZacu31q8KTvsB9HXj4FgTE8 J1+w== 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=Dj1Ea6FMgw3jOJ6npVr9aL3TFKIIEgylW3HCX2BzXos=; b=XH8jp/5cvAeqhlpogeFcnUEmzF4+dKjq0hEb/LyzzldkaopnjtJ0vut8ErPZjprbu/ qJLobLzZhWK1n/H8cvh0nvr38Hj8S7/9Or3J06kNYpWdPxCjZEbVttFYumbRSFfs79vx mms1JgYjtFDJjjKyR5/MnRlovwvSmD4MFcYx+4kWwsGKal+7WgAZU55mx9jRO56FUJA5 VmbbecJRIIncYCkQADZXOk/pkJ66WCTNTaJKJdI2oAmtB/JJvJikeL1wyx/Cho61/qxP 8GPbIuPT5/sFQllv0BsaT2rupXrA68ETbAOxMWzoPPE8k+Ht+rlyKULdRQnWknvlAq+Z CLNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pr0foo6k; 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 m11si417295plt.26.2018.12.06.06.53.38; Thu, 06 Dec 2018 06:53:54 -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=pr0foo6k; 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 S1731079AbeLFOvA (ORCPT + 99 others); Thu, 6 Dec 2018 09:51:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:55176 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730042AbeLFOu7 (ORCPT ); Thu, 6 Dec 2018 09:50:59 -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 75E4320878; Thu, 6 Dec 2018 14:50:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544107859; bh=N75n1h3v0iCrZSE09uORZlm9XyQ1tVR9WrWQ+8anmWM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pr0foo6k6T5/H70pOVM9qAlJXWGi6Y+8+Ue+LaJeCr6kk8GpHPdiSFI8eqL+vSPRT fI7uz5syvDBJkyTZMxUM3yiSQbZMb2lDSAR/RBYzFXQQBgNHUReyNIS7gudIi1P+1S f+Eqvx1NWhmaqK8HT+VlkYP01aMQgeOIEWxfMQz0= Date: Thu, 6 Dec 2018 15:44:08 +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 v2 1/3] binder: fix sparse warnings on locking context Message-ID: <20181206144408.GA24078@kroah.com> References: <20181205231926.45928-1-tkjos@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181205231926.45928-1-tkjos@google.com> User-Agent: Mutt/1.11.1 (2018-12-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 05, 2018 at 03:19:24PM -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 > --- > v2: no change, just resubmitted as #1 of 3 patches instead of by itself I've already applied this one, right? thanks, greg k-h