From patchwork Tue May 25 17:47:32 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mike Christie X-Patchwork-Id: 12279763 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,MSGID_FROM_MTA_HEADER,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB850C47085 for ; Tue, 25 May 2021 17:48:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id BA10961132 for ; Tue, 25 May 2021 17:48:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232990AbhEYRta (ORCPT ); Tue, 25 May 2021 13:49:30 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:49810 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232664AbhEYRtZ (ORCPT ); Tue, 25 May 2021 13:49:25 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14PHhPvF084741; Tue, 25 May 2021 17:47:51 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2020-01-29; bh=1ESmTwnAyXCq51btcYwNxM4nejxq0doON9ZIHHaw0ZY=; b=hBUIWvUnrDc6LEX1ciNRW927Mq7KJupLu2I6ZwJc3dv9jATnsqt+lifZnxGA5zO2lBO2 NTszTmcHFPBl7//ExdOk9f1bDIPCq5+xV7RUuTqBeavLTMBHG9VtZ/L7OBG4UIUJ0qc+ GR3gAcEuugJBTUR/cSew71PXwdRTBhNTqOww5NhGqtfU+FjJcFMQY2nCRjV7KxNgaRL2 ry1vY1X2yhCmidsqOu34mwPZy43W9QXq+UxyTC1YM3kU8H9Uab9P+Sx4NvJOxxV13Its Z8PPFPiRyx8Pc/32s0vkLNn2FmWMZ0Jxwxdb8eZ2xRxftCew7t7owQSQO4kLq3doizZa Sg== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 38q3q8xam4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 May 2021 17:47:51 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 14PHeDnK133298; Tue, 25 May 2021 17:47:51 GMT Received: from nam02-bn1-obe.outbound.protection.outlook.com (mail-bn1nam07lp2049.outbound.protection.outlook.com [104.47.51.49]) by userp3020.oracle.com with ESMTP id 38qbqsfu7d-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 25 May 2021 17:47:51 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=X/umTKkZZV97hmSKc3bFkUNCLgGF83X5/5hE6kLm0B3rLckzPlSwfAhJVkv0W77jHSxtPmLv53mjo675nqjBj8MX9FK2VbZy+RKMyLcKJd9Kk5LTKy98U/fM/nDXb+SNlCxonfTNTCmZnJbRakvahbQF6yKdxY7iiKB6B8A9VhmeydoEWxXc4OnrlC8eKyBymS1zc/mZGLaE+eA9rfHjCUdLha6cMyFAqx0xHat1M4RzA5XRnx0QfZWtKsrhXXnC+7Au7iklzeHRzH1wPEB8LuzB742RuPIvMW9TcWk3V9HpHyNZdMBG+5Eme1ny9x97exu1UKTorE+e0/Z08yFzLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1ESmTwnAyXCq51btcYwNxM4nejxq0doON9ZIHHaw0ZY=; b=InNIhNzXZ2GpisasrLjHpZsHUUV1dsiaF555EsCRDX9Ms96EhJ5Vv5Wq3lFZH68H6mEuWJNNUKl5w/NB5gzcude0us6/Mh3QWMh2ogDjbOK68KAJd/RO1slbwcztTZIvKfmMNeRI0TpljSRNU2lIuP3EuwimF0MDu6W2fWQJWX1kCGbn3iYq/tVWmJUhlYMOghhS0Uq/6eThiUBcuXZfUx0S6RLjX3xLjNggbUBgc7Mnbas3S9I+bJxEUnsl1xlEdvt8j+360l9zDlTCbnDfYkWDaCITuCMgEfpVxXluE4d+rE0pCnRy/dRO90autSMysAAhqsBQMjHEE+ItKXiVsQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1ESmTwnAyXCq51btcYwNxM4nejxq0doON9ZIHHaw0ZY=; b=i7BHN2QBTsp8/IrYDhif54rcv229aeEHQNFSaV/8iFG/O9Fe+Xp6tlnw/oaokAdP/1+cH0W3o86rew2RgRF6H7FttXQ9+p0DMmgb5R8Suytbxsn5kH/z1Id0+fXX/pAYI5+U8O/PLvZYBipTsOhoY02loq1HboFg2kLpVZb7ijg= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=oracle.com; Received: from BYAPR10MB3573.namprd10.prod.outlook.com (2603:10b6:a03:11e::32) by SJ0PR10MB4720.namprd10.prod.outlook.com (2603:10b6:a03:2d7::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.26; Tue, 25 May 2021 17:47:47 +0000 Received: from BYAPR10MB3573.namprd10.prod.outlook.com ([fe80::b09d:e36a:4258:d3d0]) by BYAPR10MB3573.namprd10.prod.outlook.com ([fe80::b09d:e36a:4258:d3d0%7]) with mapi id 15.20.4173.020; Tue, 25 May 2021 17:47:47 +0000 From: Mike Christie To: target-devel@vger.kernel.org, linux-scsi@vger.kernel.org, stefanha@redhat.com, pbonzini@redhat.com, jasowang@redhat.com, mst@redhat.com, sgarzare@redhat.com, virtualization@lists.linux-foundation.org Cc: Mike Christie , Chaitanya Kulkarni Subject: [PATCH 4/5] vhost: fix poll coding style Date: Tue, 25 May 2021 12:47:32 -0500 Message-Id: <20210525174733.6212-5-michael.christie@oracle.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210525174733.6212-1-michael.christie@oracle.com> References: <20210525174733.6212-1-michael.christie@oracle.com> X-Originating-IP: [73.88.28.6] X-ClientProxiedBy: DM5PR19CA0009.namprd19.prod.outlook.com (2603:10b6:3:151::19) To BYAPR10MB3573.namprd10.prod.outlook.com (2603:10b6:a03:11e::32) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (73.88.28.6) by DM5PR19CA0009.namprd19.prod.outlook.com (2603:10b6:3:151::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4150.23 via Frontend Transport; Tue, 25 May 2021 17:47:46 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 86e7e204-5653-4ee4-062c-08d91fa5351b X-MS-TrafficTypeDiagnostic: SJ0PR10MB4720: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:590; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: lRzKa7zGvo9hh/65+9rlz/v5z6gV8Z5OZ/7s4jeFJwTOOfcE9AR6MW3HVcRJ6re1qQm6qUNDO4j8JZCVeePIym7nPX0Y2z3XFpa6SYpIkIIzdwUW6nrAJhF5Ed3ycSSm1PtgHqBsdVfwMi/uGPn/9xoRzoVy+WoKEfJjbYWx9P7yhXIM1IscCPgrTnxXDY6qeoZZo9fn8gzshM1Nw4x//eTNHMmO67XW0c1zEV2OpTO9+iU0vD8GvoPJBEkPRhY5AXD2aRSHL/x5hs+xAoSCWJdPfalqzw/HKTtjoc7V06Zrbl1kJSU95fWZ6cClLTgjcU0yi5qiLTOVHrDiiPLm/x5Lnq9SHCL6siQIV66oPMOcWhAk2ThbDYaOXp3LdHon5kjXA41dMqVFsmio+080kkEn6OqkfKycR1NJy3PnECCtKihc9Nns/lol7Cx6wOE/gKulGt9RgqUKX2+myiRMIht8ASHFJOzEvqiWoypCfTDPl1hDzu4eFNJiTFy4ZBcGUYNFzFTxpluYw2vndpenEe2vhznA1MX/stGnm9JamqlW9UdDvEpdgZxRhdVicqxJuX8/8ZvttyEzhbwLFLJQNxykA45HmMcOzgHXq1ndNrib0u24EIKJPkwjaCG1Ip1LnR5/2Q6yuHk8eQ1IDJoA5bzIsw7vi5jCwgN5AbWNuUvKJDc+tS1rT1GzYxNOobrP X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BYAPR10MB3573.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(39860400002)(136003)(376002)(366004)(346002)(396003)(36756003)(83380400001)(54906003)(6512007)(38100700002)(52116002)(26005)(66476007)(478600001)(38350700002)(86362001)(66946007)(5660300002)(66556008)(316002)(8676002)(2906002)(6506007)(1076003)(8936002)(16526019)(186003)(6486002)(4326008)(6666004)(2616005)(956004)(69590400013);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ASRTTYClr14fcWx1PgcyuNUFYXHVoXX70oKy5p7g8zAFa8oQiLrZyg5t9cOADMDD68igb7IhCP6TsbRN3VXcMbWNiTlWmeQ4AwYFg+uN+PBz/tHIK8wOV+4dFy59zX/eLg1F++CEGGKW2/5sSE9AELSCXKOA1Ve10sNT8PWkgS46hBFpUxFcDk3LFQhhWehNxgO66S+QuHOYCkBdvJKzqysYSzMgxpX3dmFG6ZhYI/JsxSvrIocI02eqzWMoX/IRMU+/KUOKYVi1fMnoB+HMvxJnOSAH8saEz1jURYvTmaNdCkGSDvOYItSqEVYXt83nZrdKH5YTVS/NaaobhnizYTuVaWni3arZypE+wDYUGRDYyIJuZeSBmcLlkvvz1UAgwkc9HdRVxMrOv4eeWYd6+jiifCds5/jX9JnIiXtgkdJ4NT9Y0OSjAKq4emyZ3g8ddCFfppAMIzb77/uSTaKEnORkedCajvqMD3ZZdTuqBTXbvv0Cxc5jvZ3yElIw1rOh1BuFmjQkFAP9BNrNql52MJrQjwiXQIYKRak7fXSIsIn14M9WLFyEQ4p9Rt6ERfk0yKjJQrFwaLHse3oMWwGHqm/Lmf3rxZFjRSyY6ecwhpZJjdvqN+zYJnWt7QlQdD752sHbe+9ZI6yIZM9Dohp47AmUXbC9zRNmQGgVu41k4LtJLxBVmPuSLQ82KK0/QMoIAlFJjqrU8zDC/zU/++HmBPjhGJTPS6nGed4AU5ye1Yef86ApXyb54ay5oS3wrp58m6dqddVEQWX6CpzV7KFyvDjyRe8OWrv/5pnUAGcrQxsV/gbJTCgnFFqlJunpfmUSZr1jHDq6R/qv9BRXphxoJ1lHbFQphLA8uXC+/8kSFWC1cGZvJn6ph08Hh/+m2dmfeANno8xUffZeJpkThXQ4giLjqRtSYoLEOojbvOWr4Zyss0c3p+BsrAyXHLRMpEhzbfWHnQof4WoferH/d2dq7yVWRhyKJiMkTVjlq0bmtrixf8Y/vgWq/RSFPFaouJNpgpUbilCweZoi3OysPgBRa0G0kJNwlbibugnlXhJfMh9HUu5GIACTPgqrDy6IK5vtcOmXYD7Q+1W+fA5nExnXgl02JwYRowRr7asKmIQxY+d5Gw6hJq30yRtls3Rmmn28PqD2cxUT3MUjhe8s0wY7PDp9X2Z8rMzVvk9DA6w81aKUlDXAI96g53E+hGZpWusaT2fV4WWf4uzG91ldul5mBw96TOgrZjQc8kYu+rMGzPrCCGFBXZBdDa77BiMhxFTvR8n5f6hxIMMhPQrFZB8aH9hTbPiDDHVApyx/FYwjGIFKjnUWdfY0TkqpQIukGDVp X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86e7e204-5653-4ee4-062c-08d91fa5351b X-MS-Exchange-CrossTenant-AuthSource: BYAPR10MB3573.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2021 17:47:47.2213 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: jE3roVAnkmImloUibkTb+yhCDCAoF2jC2ay4rPy/ANzovPwPsZpauMqfFve52zGPBv6vuw7EvRjSeQaRXIeTeHwRH7k1UKdKR4PgIWZ2XpM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR10MB4720 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9995 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 phishscore=0 bulkscore=0 mlxlogscore=999 malwarescore=0 spamscore=0 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105250109 X-Proofpoint-GUID: oi1PiXaNDzOrRqd1wzfjMaY6ex7jXC1b X-Proofpoint-ORIG-GUID: oi1PiXaNDzOrRqd1wzfjMaY6ex7jXC1b X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9995 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 mlxscore=0 clxscore=1015 malwarescore=0 bulkscore=0 impostorscore=0 phishscore=0 spamscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105250109 Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org We use 3 coding styles in this struct. Switch to just tabs. Signed-off-by: Mike Christie Reviewed-by: Chaitanya Kulkarni Reviewed-by: Stefan Hajnoczi Acked-by: Jason Wang --- drivers/vhost/vhost.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/vhost/vhost.h b/drivers/vhost/vhost.h index 1ba8e814989d..575c8180caad 100644 --- a/drivers/vhost/vhost.h +++ b/drivers/vhost/vhost.h @@ -28,12 +28,12 @@ struct vhost_work { /* Poll a file (eventfd or socket) */ /* Note: there's nothing vhost specific about this structure. */ struct vhost_poll { - poll_table table; - wait_queue_head_t *wqh; - wait_queue_entry_t wait; - struct vhost_work work; - __poll_t mask; - struct vhost_dev *dev; + poll_table table; + wait_queue_head_t *wqh; + wait_queue_entry_t wait; + struct vhost_work work; + __poll_t mask; + struct vhost_dev *dev; }; void vhost_work_init(struct vhost_work *work, vhost_work_fn_t fn);