Message ID | 20230207070033.367423-1-ZiyangZhang@linux.alibaba.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2694752wrn; Mon, 6 Feb 2023 23:10:29 -0800 (PST) X-Google-Smtp-Source: AK7set/r+wISpSBTuIBo8QkPEoa0ZH0y4MvbqI+ZFeNwfpxwxxXTcEC9UHiBSA9G0ffICdfk066P X-Received: by 2002:a05:6a20:8345:b0:bc:cede:fb98 with SMTP id z5-20020a056a20834500b000bccedefb98mr1999880pzc.36.1675753828709; Mon, 06 Feb 2023 23:10:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675753828; cv=none; d=google.com; s=arc-20160816; b=CkffhTeI5m5peeebSmyPKdW9AggWEQ3LS1MKZJB/vd2aDTzLPfBdFVPT6oXE42CUja qL+qxTCLSPAPlGmfLIBayduNTTVJ0oUEm11/fZMqQ0uTXf/JgqyMVLbY69ySHc8o9cqb 6L8GnB7Pg2OigB4Jc57JaH+ht5Txb1DIfHFcHHiXyXvG5933xzNVy3EYwXobhZFgskat 8BPyVU/zzX+85oKzhr46lPekaWtoN3SzQH2rMY0edm4mjMkBjj9HXJEjQfx8V0xavxEG HlWK7NTpk3VvUPuh7E8IqkLKypvUV+arpwhq1yGLtA+ExUnh4lkZAMA0OMgxs6BGHlkb 0lGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=SfNnqprB+tV3Slp81YIhDNr5PmYWm+8N/1JS7Re8IOU=; b=DAsRfIFUlqIJOH7i6Vc5OiKiVZAUuNqR0qCwZ8mKjctCbVnlxMd8rNPIFU20jBnyc3 LkjS+3903QCdWr779Cd7k7bbOyJEfXdqMMO413sjEeKpGetjjAQSVUbvBC6noHnKzQ4n wchTerslP2QSGyFrVDolLnY1aYNfT4gM0EZCqhn0jVVWQ47ZKXH6o3zVIN1tF9/AG2qE aFiuJ+Yhk3l1Kn9oiGWL/+QkJdcjcRx4gs2I9eod7eH8boKQM+FLHIuzdB992Heyp6qd KVqYyenEosUT5L7KyzJFntk8muDheSNzZw2Iex/HWbdIvr+r0p8WzZlnWuLiOh50Y8EY gsKg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v5-20020a626105000000b00593c3cee537si14609729pfb.139.2023.02.06.23.10.16; Mon, 06 Feb 2023 23:10:28 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230516AbjBGHFd (ORCPT <rfc822;kmanaouilinux@gmail.com> + 99 others); Tue, 7 Feb 2023 02:05:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230481AbjBGHF0 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 7 Feb 2023 02:05:26 -0500 Received: from out30-118.freemail.mail.aliyun.com (out30-118.freemail.mail.aliyun.com [115.124.30.118]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16811EB55; Mon, 6 Feb 2023 23:05:02 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R521e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=ziyangzhang@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0Vb61XX9_1675753313; Received: from localhost.localdomain(mailfrom:ZiyangZhang@linux.alibaba.com fp:SMTPD_---0Vb61XX9_1675753313) by smtp.aliyun-inc.com; Tue, 07 Feb 2023 15:02:00 +0800 From: Ziyang Zhang <ZiyangZhang@linux.alibaba.com> To: axboe@kernel.dk, ming.lei@redhat.com Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, joseph.qi@linux.alibaba.com, Ziyang Zhang <ZiyangZhang@linux.alibaba.com> Subject: [PATCH 0/3] cleanup for ublk Date: Tue, 7 Feb 2023 15:00:30 +0800 Message-Id: <20230207070033.367423-1-ZiyangZhang@linux.alibaba.com> X-Mailer: git-send-email 2.18.4 X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757155246578022283?= X-GMAIL-MSGID: =?utf-8?q?1757155246578022283?= |
Series | cleanup for ublk | |
Message
Ziyang Zhang
Feb. 7, 2023, 7 a.m. UTC
Hi, this series contain cleanup for code and comment of ublk including removing unnecessary NULL check, unused variable and comment fix. Ziyang Zhang (3): ublk: remove unnecessary NULL check in ublk_rq_has_data() ublk: mention WRITE_ZEROES in comment of ublk_complete_rq() ublk: pass NULL to blk_mq_alloc_disk() as queuedata drivers/block/ublk_drv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Comments
On 2023/2/7 15:00, Ziyang Zhang wrote: > Hi, this series contain cleanup for code and comment of ublk including > removing unnecessary NULL check, unused variable and comment fix. > > Ziyang Zhang (3): > ublk: remove unnecessary NULL check in ublk_rq_has_data() > ublk: mention WRITE_ZEROES in comment of ublk_complete_rq() > ublk: pass NULL to blk_mq_alloc_disk() as queuedata > > drivers/block/ublk_drv.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Sorry, this patchset is wrong, please see the resent one. Ziyang Zhang