Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3871423ybb; Tue, 31 Mar 2020 13:47:45 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtglrUsqnpsxpbMoXfOdbBzEImq6MAdfVe32cjR9OeAxX9ruMj3YNDhcA0wLrOT9n5w1zfo X-Received: by 2002:a9d:64d4:: with SMTP id n20mr13776909otl.193.1585687664956; Tue, 31 Mar 2020 13:47:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585687664; cv=none; d=google.com; s=arc-20160816; b=lkKKDRvg8jvAcgu+Yrv88tD/Kw4VQqpUsbmw4wLFmvFZYs/Ll/oXwvKPtiPsLKVJdF /EHBMKZkEJ7PjkVkc63pAjPnHbur8Uc97sWaxRYoYj0wJF43ep1RJk3HfVoERsldoSsY SflCOBCHUN5nchNADJeC7rS1/5XaesEzwc9gmjQDbaR9aNhpKplTQ35vGJ7aQ0Iyk/QM 64MeeyB1ao2gYTvlYgLKA1pDAmwZHkYRv31vw0qvTR9KaZyFmFu3mdcDgHhmz/THcbr0 hKHM9PEd4eaxv2Unf9tG2DAa86B/8JjS9bqQRJ3AbNSdT+8NZvdjhos07VZdODIjV87p eKrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=8k+54bJLm5Dimlr1t4QPDlPtUOMnAoAxS5SgsOogOlY=; b=HLyU5jPZ2kugwEPZk0PXgm/vt5AJ5A5MzlMkhgp45EKKBPsvslBkVQoEJfP4Tul5CX dm9kyMiRqi7Qu5lN7Uc0u72dgHRIxBn+6fI8TiiBMcR0Ky7gHR+FAJNk94tbImuJ10BL 1ctyP84ijRhtmK5ui2D1KHosaeCe3X3xiphm665P/Ta949fWY2+kw9ZSTwrakMZF24Qx YES2xyxtfAGyoZk7sUbosIRCvQPLmx4kzheqQ/zEyLnrJJkKlNqvepAVD7vWaKiZ/StD e/z9sRYWCS8MqanzcOn9Dk1aCX3c3nHTqXTwgHSvYzTx4Z6NzXuW9zkDX9h7GJXJ2P3N CK/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LmGBVg1D; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a12si7113887otf.272.2020.03.31.13.47.31; Tue, 31 Mar 2020 13:47:44 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=LmGBVg1D; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730556AbgCaUrN (ORCPT + 99 others); Tue, 31 Mar 2020 16:47:13 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:40207 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728091AbgCaUrM (ORCPT ); Tue, 31 Mar 2020 16:47:12 -0400 Received: by mail-wr1-f68.google.com with SMTP id u10so27805550wro.7 for ; Tue, 31 Mar 2020 13:47:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=8k+54bJLm5Dimlr1t4QPDlPtUOMnAoAxS5SgsOogOlY=; b=LmGBVg1DOtZ60gIw/g8eHRv8xijyuEXXEGTfmgCrKTE7TgqKrhTVuPbg8yPR9Z8GP8 GVDkgq6dyazGS18fGc5bFZzWzkPIU8iUgJLqkmoa+PcX3yJAFK+V75LHofKOWECeBh4m CHqn4DVddZGKH+IVh47loGOM3pKMGkVww+OnTOsP01Mlp/n8jqJR2FZqp+NDEuBfjJrS L6deDlux7K6StgIe45wBc5xZZVUKcxvSSfjUG/lowiYbH8OUptPmqBCJRd/vZ3t7LTOt TzoEDOgtFFbN7737oh7bPqnBLW+WPCzNE9MUD7hNovi0a02R1pEHcJQ1rwCKKQmLBx7Y QAPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8k+54bJLm5Dimlr1t4QPDlPtUOMnAoAxS5SgsOogOlY=; b=EdZSXxgm6jRvIrkEFlsp44QwAodpNDnNQDiazp6s7TINNAYN5+WRCRITvxbK82FKF/ CQb6OLSH1EuyQhrU5gS1LIvCTAigdvP5TQyJ8EBIajd9hKG9EJ7aL4aq1QCclGuqntJj pJDuSIvoirfxTTi0MOwuhhJ7MiPNpB0WhBj83z7G5rbd8oncbH1gvigDC3CYBUHF8d97 NqaWEHsxQLmkvAOnCx3fDBKRc/e57133WcfCy2bPKXQHbE/iRzCbLfGcD2M/GlfMjxbl O0jyBcG78gIY76udwlS7necm7GZxzXbyVYG2zxiwJmHLIGWKoeLIfuKKFBudcUnYZgdJ NCyg== X-Gm-Message-State: ANhLgQ2vLg+lwG37QFAG4yTq1IDKS70Zsi1BMrUAvJMh6DYXPtK8PcT1 LsAuf6hcsjfAlC5TM8yobWLH+nkkVA== X-Received: by 2002:adf:a343:: with SMTP id d3mr21150628wrb.50.1585687630505; Tue, 31 Mar 2020 13:47:10 -0700 (PDT) Received: from ninjahost.lan (host-92-23-85-227.as13285.net. [92.23.85.227]) by smtp.gmail.com with ESMTPSA id o9sm28335491wrx.48.2020.03.31.13.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 13:47:09 -0700 (PDT) From: Jules Irenge To: linux-kernel@vger.kernel.org Cc: boqun.feng@gmail.com Subject: [PATCH 0/7] Lock warnings cleanup Date: Tue, 31 Mar 2020 21:46:36 +0100 Message-Id: <20200331204643.11262-1-jbi.octave@gmail.com> X-Mailer: git-send-email 2.24.1 In-Reply-To: <0/7> References: <0/7> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds missing annotations to various functions, that register warnings of context imbalance when built with Sparse tool. The adds fix the warnings, improve on readability odf the code and give better insight or directive on what the functions are actually doing. Jules Irenge (7): fs: Add missing annotation for iput_final() fsnotify: Add missing annotation for fsnotify_finish_user_wait() dax: Add missing annotation for wait_entry_unlocked() sysctl: Add missing annotation for start_unregistering() btrfs: Add missing annotation for btrfs_lock_cluster() btrfs: Add missing annotation for btrfs_tree_lock() tty: serial_core: Add missing annotation for _unlock_and_check_sysrq() drivers/tty/serial/serial_core.c | 1 + fs/btrfs/extent-tree.c | 1 + fs/btrfs/locking.c | 1 + fs/dax.c | 1 + fs/inode.c | 1 + fs/notify/mark.c | 1 + fs/proc/proc_sysctl.c | 1 + 7 files changed, 7 insertions(+) -- 2.24.1