Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp10912973imu; Thu, 6 Dec 2018 08:39:04 -0800 (PST) X-Google-Smtp-Source: AFSGD/XQCtEFZH46CrQJUOCWhSgWM2uIt/N5kYjQaXHzcia91ULD8kulEaIItcuyCr1AZLDoy67d X-Received: by 2002:a63:170c:: with SMTP id x12mr24008736pgl.364.1544114344613; Thu, 06 Dec 2018 08:39:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544114344; cv=none; d=google.com; s=arc-20160816; b=hC8+h8aInDnGABtbrlrVY9PJm+oOVZeS5wLPKlm6nQpyleGOjFTEsKh7vbQpUHGC5n TI4ars3Prqo8lgT5hzlYdGAkcNubi90B2iNg/zUkbyWJXMBucr6DOM7hHd7M9151EvGf NyhDfdlpJ4ect2zlIYdkOQ1D58iyp1DLIyxnk7bVFbl/0LzKv9WlRYLrwIs58P7bWzU1 FKCQEXkB5OdzrQHLjXfGJrGGkG1UcIRSIFlPw/DSUdzwQEOHk+i8LI0ey+H93oY3QpSC MDWqOKtQQriLsLDW6TUlvYsNUn17oYt+Yjg3X3Qv0EGVevNu7Gx2/4ZKrVKI4s3jUiVv Ixjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nWJi+gvVhh14j2esNahz5XLa5mbxmHqMbvRc4yIlQqc=; b=j6vObMZqt6xk5qMI6/ya0TEvpoS5cvBT9QqR+GQayjUNq4GdhdvU/eNqOtWMy5Pxp5 j664W5PN9IzLm60MSkgT1VVTieNJF2WWeAL89AkLXvE8QApA0vYxJHmygZ+J/tFPAO5r +i1K/JjarvaO+S+9U2U/+UMZMKTWkkGc+CJxjRUFlctCBLHSOIh1uQuYvsIweyVeb2YR D0tUVZtmxhx4zQM/DKVKmtJIzKBXHOzFecLZWlylzC+FF2e5LFv4mwTD4ZXIgVNlO0ts 3ji6jb3XflfMLpNUKXkuJl3riFuEsiY5iPvegQdJAB1WAZG6Pwg4VR5z1GoKVaD2Gt5G l2Hg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=vIlwuxoj; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si564052plt.406.2018.12.06.08.38.38; Thu, 06 Dec 2018 08:39: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=@google.com header.s=20161025 header.b=vIlwuxoj; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725929AbeLFQhz (ORCPT + 99 others); Thu, 6 Dec 2018 11:37:55 -0500 Received: from mail-lj1-f196.google.com ([209.85.208.196]:33137 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725862AbeLFQhy (ORCPT ); Thu, 6 Dec 2018 11:37:54 -0500 Received: by mail-lj1-f196.google.com with SMTP id v1-v6so1012069ljd.0 for ; Thu, 06 Dec 2018 08:37:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nWJi+gvVhh14j2esNahz5XLa5mbxmHqMbvRc4yIlQqc=; b=vIlwuxojztqbKY6QdsQ0ClAWi6wBBmfQA3KF/ZSxTDi2nl4K3WhrO36w8csUwhAS0O bB6zw5Dw5+lx9/NDHG3Ikf8cIiU6OkA0Qr1qX5qgMYxhysY27L5AyVkSqzWMNGp9RJdZ cEK22xbBQYH/kWjGLoZA0KLGOi2kCeASC1CShK3MnYXRQH62roRzK5uCfw+StpOI4/2x DUdYg0GlXcggQ5LS6GzzQkFD7u8511b7L7IvXjt71VNAH2KXlXB+F8UMXlfBDELiYUsG TdbhaemdK7rnXOEAbOgmVrdVfe/9pWV6BkSt5pdbWvbaYd/2IOY6rBXgW9otsJIHmfJt wdJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nWJi+gvVhh14j2esNahz5XLa5mbxmHqMbvRc4yIlQqc=; b=VuWgnKL3zfUqiaItyBGhTKx0wuMO8phGTZvYoMzLxxwYoWVxOG1LaBMKCrqA0LFgEf 4tZQlcdMA/0DAL8eDEVQY8tkAEnY9HP71BxbEUJHyy4Auyf/UQ/qh6IOHQxtu9H6I1HH ucUDcPHQtmrt32rZc9sNswXCTfR4KZj455Qof/zhTY7diddMFIG/jrPTDOxsmXfjN5Kp D6p5B8sAGfiMuEsh+BNMDqEjTeoGFA0lma7ZPxIYdd4N4Vavx7xbJgineaaSTTpJIsXw iznM1zZy7c/6hp4i4G5ZPX10pk5gG5KOvOmAvPKw/kuLGiyd1Vn2gyiw+AOybGmFQrrX oqOQ== X-Gm-Message-State: AA+aEWZVclxoQlXtAvxc6y2N9FBgcdbjap5YdUMp7IKw/9gmk8ZLCd9s RsR717wHLZMsY4TQlhDlMubRdfBzPKSwnCBN8FhcUhr6PFabfw== X-Received: by 2002:a2e:8596:: with SMTP id b22-v6mr6202148lji.122.1544114272500; Thu, 06 Dec 2018 08:37:52 -0800 (PST) MIME-Version: 1.0 References: <20181205231926.45928-1-tkjos@google.com> <20181206144408.GA24078@kroah.com> In-Reply-To: <20181206144408.GA24078@kroah.com> From: Todd Kjos Date: Thu, 6 Dec 2018 08:37:41 -0800 Message-ID: Subject: Re: [PATCH v2 1/3] binder: fix sparse warnings on locking context To: Greg Kroah-Hartman Cc: Todd Kjos , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , "open list:ANDROID DRIVERS" , LKML , Martijn Coenen , joel@joelfernandes.org, Android Kernel Team Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 6, 2018 at 6:51 AM Greg KH wrote: > > 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? No, not yet. I confused you by failing to add the "v2" in the subject for the other two submitted with it that you applied this morning: binder: filter out nodes when showing binder procs binder: fix kerneldoc header for struct binder_buffer Sorry about the confusion. This one still needs to be applied. -Todd > > thanks, > > greg k-h