Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp3198393imm; Sun, 29 Jul 2018 12:38:03 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdS6QpxSrPCG2Yc0hxvyfN+lbpqqjbNN4r0YxNvgzusbV/31IhQ5BBnaOM4dBoNuIh9WSdA X-Received: by 2002:a65:5245:: with SMTP id q5-v6mr13507732pgp.67.1532893083943; Sun, 29 Jul 2018 12:38:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532893083; cv=none; d=google.com; s=arc-20160816; b=FBGZeM4GapokVv5T1jBVpOwXqMtTiGWuHYsoI4neW0bXmSAa6h79PHX/7Lcq8rA/nn pV7a/R2RCQSidcpa3nYLxCceTr2jzyQkh37pDkRIpiWDc8afYnsifbjorWOT+T7bJ7NT Q2KV1ThTmx/eZZ0lqIj3iOgCaAmCX0j8K1WuITDlgvMA+xsvgPwyYSew8fif2isL5gnn 5t2rc4PdUQ05/YMXNN8IJQ57QIMUgqX/2fWxeaya/1lXfVjxhjri9JX/XxI1gUWj/1rC F78uaFiIFXa9Ws27YlYQIkm4XUH1E9CKnJDlRvyiBAuUyB89q30X2keoQCkPtRHBLlYr RFrA== 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 :message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=cluzv5xzwX0QZZeOSadTMX6VO+DnDP8/Fhzx+s1NtPU=; b=j8kn3lHQT4k9xh7wLaOMFKzllrS+GKnw0RL0JaniV2jZoRK+MAQSocSD9H5KJY++Z/ wUmm+7NFe8daC22bkvHBsJjkD4DVLZF8duDnc/SEkotN3zV4egGIJNRvPhtq2yKDCIoe j9drRY9C9Ve6cZ8nFObX8otDJGe3/nVuB7pvSQzS7WQWR02B42AYz3TwnB+gYfb2sJ8K ppo1sI4FLSFv0/fZfLwwadcuqA6hKWwAUxjUosUapMNI8xmQnYAGb2mbrvwSbnkXLbq6 XJfGrhNftSN6TJ5q+iJWijFKVyYe9xn7qm/LgsMhMVn3tFH/5XIUimqy7zWxm73pfmeg mv6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kxipq8Sq; 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 a67-v6si3288349pla.135.2018.07.29.12.37.49; Sun, 29 Jul 2018 12:38:03 -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=kxipq8Sq; 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 S1728497AbeG2VIa (ORCPT + 99 others); Sun, 29 Jul 2018 17:08:30 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:45485 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726586AbeG2VIa (ORCPT ); Sun, 29 Jul 2018 17:08:30 -0400 Received: by mail-pf1-f196.google.com with SMTP id i26-v6so3554524pfo.12 for ; Sun, 29 Jul 2018 12:36:58 -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:mime-version :content-transfer-encoding; bh=cluzv5xzwX0QZZeOSadTMX6VO+DnDP8/Fhzx+s1NtPU=; b=kxipq8SqMjZzjO5Txq8THYzBhpVS1f6SDKyizPl8HJE7ufQ/+f2A53EkGpoLtjeTJS tgs+tAEHSvxn9LWN4OPxhiA/3p/Zp9y+NQ0oEu/pNDOpxnc0EM59gAwHMuc/J5wWGKSd 1tDXqfFgJFuk/aHmkUTBEqNIYN8c0X86C/dcXM+/6n9FDkLhU2vdnshHe0JT0f2NnlBl 3IteDRVsBg8MIO1xeazc7uOvsUppwq1cC56Dzptk8GUp9zuFnmKaXe3PGf5b9606Rlcv AJdN6so79qcccwO6++g5GBpCjnJPPufn9Rp8ofaIfHvLtxKqdA1g/tHXyW8YRgZgzrN9 Rixw== 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:mime-version :content-transfer-encoding; bh=cluzv5xzwX0QZZeOSadTMX6VO+DnDP8/Fhzx+s1NtPU=; b=Yk7btsqMJso2+YzAQbyJEJwJ8nImnDbeVNtvWDMLjwQZdg1w2P02FMlcBF4SMSvBPy //FY0tM980WHRn2qRwTm2A0vVUhPLKhFknqiB1wlaeE+L8eOCpKE+JelITM5boGZVlEs iQP89O0ZBDF0QF3WU+RFx2vtbP9u+rL3h7hSI2/hkjqPB8KG2GDJS1oVoX2jvZgCk6se mQE1dM1CxQ6btLg0JddRla+05mC51pqj16KQ2SjO0cpVxVfjA2jVXyDRCsaS1LS39FW1 aPWYrxIWP/ocb1KaJVcmq5EjXxABgj65iRmzaR9WeVkVcgoqm8LMKVlBIBlTK8ey0zBR rIgA== X-Gm-Message-State: AOUpUlHGJCFTqy4xipAfWlniJlzkSgnixBGKaKgxEE9npLdyg5y4Bg+d 7kDRJ0Y0cE/yGPVm/xz9Wds= X-Received: by 2002:a63:743:: with SMTP id 64-v6mr14146458pgh.216.1532893018241; Sun, 29 Jul 2018 12:36:58 -0700 (PDT) Received: from toddpoynor2.mtv.corp.google.com ([2620:0:1000:3701:7d29:cd13:d903:7908]) by smtp.gmail.com with ESMTPSA id k26-v6sm27474062pfb.167.2018.07.29.12.36.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 29 Jul 2018 12:36:57 -0700 (PDT) From: Todd Poynor To: Rob Springer , John Joseph , Ben Chan , Greg Kroah-Hartman Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Dmitry Torokhov , Todd Poynor Subject: [PATCH 00/13] staging: gasket: fixes and cleanups Date: Sun, 29 Jul 2018 12:36:33 -0700 Message-Id: <20180729193646.201721-1-toddpoynor@gmail.com> X-Mailer: git-send-email 2.18.0.345.g5c9ce644c3-goog 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 From: Todd Poynor Fixes for device reference counting and root access based on user namespace for containers, plus cleanups of comments, forward declarations for static functions (more forthcoming) and multi-line continuation style (more to come). Todd Poynor (13): staging: gasket: core: hold reference to pci_dev while used staging: gasket: sysfs: hold reference to device while in use staging: gasket: page table: hold references to device and pci_dev staging: gasket: core: allow root access based on user namespace staging: gasket: apex: simplify comments for static functions staging: gasket: core: simplify comments for static functions staging: gasket: ioctl: simplify comments for static functions staging: gasket: page table: simplify comments for static functions staging: gasket: interrupt: simplify comments for static functions staging: gasket: sysfs: simplify comments for static functions staging: gasket: TODO: remove entry for static function kernel docs staging: gasket: apex: remove static function forward declarations staging: gasket: apex: fix function param line continuation style drivers/staging/gasket/TODO | 1 - drivers/staging/gasket/apex_driver.c | 559 +++++++++------------ drivers/staging/gasket/gasket_core.c | 165 ++---- drivers/staging/gasket/gasket_interrupt.c | 18 +- drivers/staging/gasket/gasket_ioctl.c | 51 +- drivers/staging/gasket/gasket_page_table.c | 329 ++---------- drivers/staging/gasket/gasket_sysfs.c | 39 +- 7 files changed, 350 insertions(+), 812 deletions(-) -- 2.18.0.345.g5c9ce644c3-goog