Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp5906150rwl; Mon, 9 Jan 2023 01:13:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXuIiTShTURXjy/w5Jzih1E4LSVZ8jPR0ide+yIYfnri0/s0zFYI380ChE0ywepr6jY7ZX8i X-Received: by 2002:a17:906:7254:b0:7ad:bc7e:3ffd with SMTP id n20-20020a170906725400b007adbc7e3ffdmr57678537ejk.42.1673255588826; Mon, 09 Jan 2023 01:13:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673255588; cv=none; d=google.com; s=arc-20160816; b=dqQSHaBjAmkJxsHIld57gM0fzFCcAcs19KMeqsA8G1kFQV+JH26tm15g7eAPYSH7am /tEcnRVsj8LyHL9nGsBx5xY/olBXse8ftdsckU5DuhhIVChQITyuKGoIy4eSCMvFOYNC 3VVmw0ZN7u+LZF6mBwJi/fZ0SbdteRtalM4J1hPu85m6HODQaEGV4bFjE5phyxiBPLni /JeqLOsed90Ravz8lwlqmjM6RVqYtNw4hwj1hZ8G6coRYbnFWvlTU6ivnrqX49mv4MEE fNpm3GmGlBiBGLOREqr6dmoY7DdNjMixBGaxwCZOwfyiHHopuKpm/d566sKnIODqnulp gkxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=ciW9YYwTiwLOjY3s3cXAhwyZejxqMBoqkbNB9AuORqI=; b=ZQu1obl1Z0V9jkJpnleeZlh4LTxIE4wCredSNg9eb4gKcI/SMEz4GPp7SVYBJgG5ZV x3RFTjO4kK+QalmvNmskKiEvVbwCSUfhom1UsTk/VKmJGnDqaDwDQvKHz9kBTusK/t3E s1PE/X4EGa4T4Z9cU1/MdOchiltAT73jVU6hupIDkfTiKdNPeVeWM93naVrB/vcUGuub sbz4TZOhr+BqqN3nQ08L4daVQ6/NMkuqr2L7V4OR2dBTDFg4msCj253cQSes/CM41qW0 a5t7taVkHChGqv3Sq6CNwi7Meahaj15QzEBoaQ0AXy7aThTN61VLPiUD31VLP6ZK3pi/ 60Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GL5T2hJA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hd41-20020a17090796a900b007c0c0d7c4c8si9134736ejc.44.2023.01.09.01.12.56; Mon, 09 Jan 2023 01:13:08 -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; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=GL5T2hJA; 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=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231219AbjAIJIN (ORCPT + 54 others); Mon, 9 Jan 2023 04:08:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44034 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234626AbjAIJHw (ORCPT ); Mon, 9 Jan 2023 04:07:52 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC3DE17044 for ; Mon, 9 Jan 2023 01:00:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673254831; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ciW9YYwTiwLOjY3s3cXAhwyZejxqMBoqkbNB9AuORqI=; b=GL5T2hJAMT6tm6J4LtCbIY1Dt8j3X9QpqEqscvLNPpc7sMyaUpC7oYPknKpLF8NdvvO/nM Chjfws+BNsFqCUoHfl6vuy7W6L/ZV4c65LpYPfSKqQq+b2ExLZO25KBDwCCRjt69yC2Zs+ 9R5Svk6rT/W7od4ArDGhVxIvjosMdBc= Received: from mail-ot1-f69.google.com (mail-ot1-f69.google.com [209.85.210.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-593-J4WuDPysO9-zkzWj_izR2g-1; Mon, 09 Jan 2023 04:00:29 -0500 X-MC-Unique: J4WuDPysO9-zkzWj_izR2g-1 Received: by mail-ot1-f69.google.com with SMTP id y14-20020a0568301d8e00b00670641b451bso4148807oti.15 for ; Mon, 09 Jan 2023 01:00:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ciW9YYwTiwLOjY3s3cXAhwyZejxqMBoqkbNB9AuORqI=; b=IXbIx6Bdej6zzNj44xGxTaJvJFki2yKkf5BNsRT46u8jcGY9TsEkCVgxc1Jf6p+upG iE5iUxCGTHWmHnAcYux6n9Ha9emfFYNnGHGR3SJRWshARgGExzbNbbzTiRgmpfkCH0dI Rh8m8DSwG0tgvdgHRelb6J6qaTSElkqYMpAPlAK457AqkJXG2u9Y5MvwOLbiIWf7izzM axx7Eeb3nNRW9BCX1Mc4YYAk1Z0YnaQ0Xx9h3d+oD/OkvE8oVRxhA70wsoX8dXB0ySIp ATQE8qxmNcm5M0XEGIygy2F5NgeqT9lZH6aGCq/uEEPbma+QrrS2io3vSefuU1SeSH2T dq5g== X-Gm-Message-State: AFqh2kpXzhtUj6ThNFFSRx1qeynER/geo87XujrzbK0YZQyOa+htg7qj Gy1zru4spt1o5e3dZWQT5v3Hw0/Wcqs9mI75p7KxzycjHe4OJvLZmIxGfQpKKlcfrklR23Zwj5C UymoBmvOUjWwsIxVwNebl04rxJJz2ER8XG/e09Y89 X-Received: by 2002:a05:6870:4413:b0:144:a97b:1ae2 with SMTP id u19-20020a056870441300b00144a97b1ae2mr3397921oah.35.1673254829168; Mon, 09 Jan 2023 01:00:29 -0800 (PST) X-Received: by 2002:a05:6870:4413:b0:144:a97b:1ae2 with SMTP id u19-20020a056870441300b00144a97b1ae2mr3397915oah.35.1673254828989; Mon, 09 Jan 2023 01:00:28 -0800 (PST) MIME-Version: 1.0 References: <20230105070357.274-1-liming.wu@jaguarmicro.com> In-Reply-To: <20230105070357.274-1-liming.wu@jaguarmicro.com> From: Jason Wang Date: Mon, 9 Jan 2023 17:00:17 +0800 Message-ID: Subject: Re: [PATCH] vhost-test: remove meaningless debug info To: liming.wu@jaguarmicro.com Cc: "Michael S . Tsirkin" , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, 398776277@qq.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE autolearn=unavailable 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: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 5, 2023 at 3:04 PM wrote: > > From: Liming Wu > > remove printk as it is meaningless. > > Signed-off-by: Liming Wu Acked-by: Jason Wang Thanks > --- > drivers/vhost/test.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/vhost/test.c b/drivers/vhost/test.c > index bc8e7fb1e635..42c955a5b211 100644 > --- a/drivers/vhost/test.c > +++ b/drivers/vhost/test.c > @@ -333,13 +333,10 @@ static long vhost_test_ioctl(struct file *f, unsigned int ioctl, > return -EFAULT; > return 0; > case VHOST_SET_FEATURES: > - printk(KERN_ERR "1\n"); > if (copy_from_user(&features, featurep, sizeof features)) > return -EFAULT; > - printk(KERN_ERR "2\n"); > if (features & ~VHOST_FEATURES) > return -EOPNOTSUPP; > - printk(KERN_ERR "3\n"); > return vhost_test_set_features(n, features); > case VHOST_RESET_OWNER: > return vhost_test_reset_owner(n); > -- > 2.25.1 >