Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp287893ybi; Mon, 15 Jul 2019 20:57:50 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRFiH7xt/1RGbB52aIYDI+E9wwKHBV/62nzzbe9qsLR8eUYKQbMdu1UiRR/0C7qZ4f9vD8 X-Received: by 2002:a65:4505:: with SMTP id n5mr27930080pgq.301.1563249469928; Mon, 15 Jul 2019 20:57:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563249469; cv=none; d=google.com; s=arc-20160816; b=K1zN96P3XBVSBy1ufWS8DZUqFKJKMtSOuNceAfufRSl+ovKhvxZ0rexupvGNQ1ALsJ gmlCdoH0za7PFGgrHrB6OVNtlP4dWAly6zDFX89IYORSuBA7ouY2Ilt/FXkUuu+Y39NW nRy4cJM9YeMnaA/bBg7r/4/mtZAFpYqToyHV7Kw0CwRQ+2/n4AJw+tGae8lDW2n6B65H H7wSnF1D/IzhRolc1zacEgL5AzG0d3LxyUTxRwiUpnd1OgnmVhumZUwEHfzV9z7wru2N GC09eU0Oc/jrLeHS/oWgwWWgqWbVKDpMmYWo8dWBe4cB3jGPwle2s16LBQQhTtFDUcBd vpBw== 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=KfHcdPCgcEDLfMOsc7KFNQOiRRZxPYLWWE+31IqsWlU=; b=MpgEAFtei8tmKqrdA9JfuvXDvm5T+DYuz2CGrTpIvtFQsXmH35RnFqjaYqtpejSGx7 xZhG/yZ1CDeJujKOeP0BF+SiUrITR/s65r0bA40RphJ0xoaD9CCxBySMinLlCsl0c2F+ eK1zq8kny9Yp93iCGy90osX8IlXUvz52oZhMqZKv5uaIYjEWDy74bkkK8DAOeyhKzKFo 9GA6bXBonVPzjxLCnFrmcCylAHPdcWezsoQyL6QONaeB3M1KQjEAyH7Ip6rWfsnHGcTs 0u2F+kODoI9t5S/uc7FGbRgsWFTxcIu4gLZeqbNfWdlSrtMf+8venGRWPTA+CLVSyHSZ NEuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=GamSHQ8f; 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 a190si19260275pfb.127.2019.07.15.20.57.33; Mon, 15 Jul 2019 20:57:49 -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=GamSHQ8f; 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 S1731392AbfGPD5E (ORCPT + 99 others); Mon, 15 Jul 2019 23:57:04 -0400 Received: from mail-io1-f68.google.com ([209.85.166.68]:46718 "EHLO mail-io1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730768AbfGPD5E (ORCPT ); Mon, 15 Jul 2019 23:57:04 -0400 Received: by mail-io1-f68.google.com with SMTP id i10so37633817iol.13; Mon, 15 Jul 2019 20:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KfHcdPCgcEDLfMOsc7KFNQOiRRZxPYLWWE+31IqsWlU=; b=GamSHQ8faAdJqVlUbMk2L9gAsB9lZNBqn+5PH32Tpds8Inkz3EQUCUiM7EkHOICseb CuwrwNdmNn/XOClYmmWMLWTHVMLN6UURZlzSunyZLp21yBcGSWd/wYhvpsoDrjbZR6xe C+cz36TucSlpDyKAGWYYekLkikHXK7O3NEwRpSkQxKHNcZL3W3RABLo6c/UR1dB2+3Va 8jbqo9aJMATHNnDIxq5UxAAx7HSsYZ1YWpD5/LEnFBOxs7Q0C59FwcR3hzfJrrg/2UZ2 nQVgcnSUK1d/Ln8lsi0m6FfivcaNzxM4M0hHOFHhBNw2CgCHXOJuJyuITRCu2xcE3HSD yGmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KfHcdPCgcEDLfMOsc7KFNQOiRRZxPYLWWE+31IqsWlU=; b=mli9Acj90Y1ximtL3ioAFgjU5Na1wwOoAqSIvvzw20QFQ/iW4jRSg3NL1RTceCCXGG pRN6/agXdJzaIMWN/MFKduuZHmXYB3M7XeknlhyipA9U8VAaJ6/TyTltUOTsj10+vMau C01qDmJb8T0yFin2/FsGLslaGmx3pPhd+bdTBkYDz439i53g8p9oe5Lo98EO0YgKjejh k71guTgNfIm/GS6kAmMVFo+0ftLV6RlTaHWzZkwTtPa5DMAHJaDECACfMBUJoZ1BQCQ+ 7E8q2TPcanT8IQYRNnqbXQ8Kv4xpikgPxrY2qZr8otljH1MdTgCiTsaR+B46QkteyZvb n6NQ== X-Gm-Message-State: APjAAAXOib9tITen7OzLlXLz5wgpL9mlbhbrS5fxaXn+uRn/+20YnxPw PqyNULWvBVkxCklsB9VNfPGpt8Q92OlEfQ== X-Received: by 2002:a02:ce52:: with SMTP id y18mr30792143jar.78.1563249423027; Mon, 15 Jul 2019 20:57:03 -0700 (PDT) Received: from JATN (c-73-243-191-173.hsd1.co.comcast.net. [73.243.191.173]) by smtp.gmail.com with ESMTPSA id z19sm23935469ioh.12.2019.07.15.20.57.01 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 15 Jul 2019 20:57:02 -0700 (PDT) Date: Mon, 15 Jul 2019 21:57:01 -0600 From: Kelsey Skunberg To: Bjorn Helgaas Cc: Lukas Bulwahn , linux-pci@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org, linux-kernel@vger.kernel.org Subject: Re: [Linux-kernel-mentees] [PATCH v2] PCI: Remove functions not called in include/linux/pci.h Message-ID: <20190716035701.GA57724@JATN> References: <20190715175658.29605-1-skunberg.kelsey@gmail.com> <20190715181312.31403-1-skunberg.kelsey@gmail.com> <20190715233717.GA79424@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190715233717.GA79424@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 15, 2019 at 06:37:17PM -0500, Bjorn Helgaas wrote: > On Mon, Jul 15, 2019 at 09:42:47PM +0200, Lukas Bulwahn wrote: > > On Mon, 15 Jul 2019, Kelsey Skunberg wrote: > > > > > Remove the following uncalled functions from include/linux/pci.h: > > > > > > pci_block_cfg_access() > > > pci_block_cfg_access_in_atomic() > > > pci_unblock_cfg_access() > > > > > > Functions were added in patch fb51ccbf217c "PCI: Rework config space > > > blocking services", ... > > > Also note that commits are referred to with this format: > > > > commit <12-character sha prefix> ("") > > FWIW, I use this shell alias to generate these references: > > gsr is aliased to `git --no-pager show -s --abbrev-commit --abbrev=12 --pretty=format:"%h (\"%s\")%n"' > > $ gsr fb51ccb > fb51ccbf217c ("PCI: Rework config space blocking services") > > Documentation/process/submitting-patches.rst mentions a 12-char (at > least) SHA-1 but the e21d2170f36 example shows a *20*-char SHA-1, > which seems excessive to me. > > I personally skip the word "commit" because I figure it's pretty > obvious what it is, but it's fine either way. > > Bjorn This is very useful! I definitely like the use of the alias. Thank you! -Kelsey