Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp4584190ybf; Wed, 4 Mar 2020 06:49:22 -0800 (PST) X-Google-Smtp-Source: ADFU+vvmA1K6TStts74/sJp6t98zCFXKD6D14IYpXva5rztUWb9QW6Y2+9Mhdvc5pj+sKYjG6e1W X-Received: by 2002:a05:6808:b29:: with SMTP id t9mr1911837oij.64.1583333362077; Wed, 04 Mar 2020 06:49:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583333362; cv=none; d=google.com; s=arc-20160816; b=o9uQp+FOjFfKOigXE/CjCLWhNcn1zR84Txl3Zk7Ug//l/sxudQwuNdGVy/pyTmTnBN iHKFOSH6Tz2fWRpJQBmfslQGtnPhCQz6F1rm0SXV7MOULPP5KQRFrgfpbAIyWzxLvlez FTAdu2qG4DZiJrVl33YHVy5YpxkujOVYql62Rg0fVIts+lRG0MCJzU3DgzjlCmjcg1mO yz4U5g+AOktJTw4eZvWSfw6zzQpZMTjUmEkxROPHSvLeXga2GvV6IjevlpQsSIX4OXWU j+tUPh1+K8DN4fwItkvBiQAGvG4C7ytS8ROr98tIkdMl3O4mlArVp/5dL3VBI8J71/C1 kqRw== 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; bh=ahY/ktb/Tn6dne+Gv/s9FpNDYukQ7zmj9C6Dhcf5KwI=; b=CubJEuXF81grlMZssBjmKDxjQW1PeutM4KSHKWSfdKn3lb4t5GLm1vd0dQ3D/wbbY7 wwcyeDCRXfFXDMF0O8UEoqSR828e1JxRXCF09mEBOxkY47HePcJNhYpAzOvcpn8G7EJN XJd6IkR3JI4oSkhhSnzu/DbvUJELDnFJwc6sfxZJezfRBj1VI+rQyDiAsg8NPitWxWVD e8ek2REqeDYvMMHCLicL78AdnKSRp59KVXGd6UjO4lrhCOJLPMhKfjB6WB0E/vcjfGlu uPQJEMuGvP9rJNNFaUEAfKzroCpYawmK+xI1Io85uT0/s89SbaveC102USYtoe+v0cL6 EyIQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j20si1205618otp.147.2020.03.04.06.49.10; Wed, 04 Mar 2020 06:49:22 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728361AbgCDOtE (ORCPT + 99 others); Wed, 4 Mar 2020 09:49:04 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:44212 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725795AbgCDOtD (ORCPT ); Wed, 4 Mar 2020 09:49:03 -0500 Received: by mail-wr1-f66.google.com with SMTP id n7so2703209wrt.11; Wed, 04 Mar 2020 06:49:02 -0800 (PST) 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=ahY/ktb/Tn6dne+Gv/s9FpNDYukQ7zmj9C6Dhcf5KwI=; b=pnw0vb8Neu/VV2Uh6Kp0+J8K7lx2KjGDD0eKfbj5H75lQGWGQGkfTZSj34z4XNCuXa rxOA0cu1SO+VGCahWQ0cV1/ZeSL6V2cHsbh3DedzClmZVwUSTFM+7Vw1PUCSlzlRcafu j82wk2vhSq8a8ZKA5KNL/t7SyXwSK/MOID6SL/aNqBgIh1uhfaD/vVoar9094sKb/2Zg L9UGl48T71vK3mGOIqVC0V8dq1W7elRF8KETlDNS6bofGnW7O9XVchb/DH/VYIRNWHoD bwhXOgqDEMC46BTtHycOoGnmuWmhGvSbeboi9twYSfNrx+JMpnSYMMKY8KghIjOUiDP/ tlnw== X-Gm-Message-State: ANhLgQ1Z3u39Y57/8jTDu+NltTvgo1dzaaLnb1d3nPSDeeU0/EPeiGAM 9IKVTGBfDkgTcu1qZXzH3EM= X-Received: by 2002:adf:9cc7:: with SMTP id h7mr4317475wre.369.1583333341820; Wed, 04 Mar 2020 06:49:01 -0800 (PST) Received: from debian (41.142.6.51.dyn.plus.net. [51.6.142.41]) by smtp.gmail.com with ESMTPSA id b18sm40168570wrm.86.2020.03.04.06.49.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Mar 2020 06:49:01 -0800 (PST) Date: Wed, 4 Mar 2020 14:48:58 +0000 From: Wei Liu To: Benjamin Tissoires Cc: Lucas Tanure , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Sasha Levin , Jiri Kosina , linux-hyperv@vger.kernel.org, "open list:HID CORE LAYER" , lkml , Wei Liu Subject: Re: [PATCH] HID: hyperv: NULL check before some freeing functions is not needed. Message-ID: <20200304144858.xc6ekcvbzrhbggsc@debian> References: <20200229173007.61838-1-tanure@linux.com> <20200302120951.fhdafzl5xtnmjrls@debian> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200302120951.fhdafzl5xtnmjrls@debian> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 02, 2020 at 12:09:51PM +0000, Wei Liu wrote: > Hi Benjamin > > On Mon, Mar 02, 2020 at 11:16:30AM +0100, Benjamin Tissoires wrote: > > On Sat, Feb 29, 2020 at 6:30 PM Lucas Tanure wrote: > > > > > > Fix below warnings reported by coccicheck: > > > drivers/hid/hid-hyperv.c:197:2-7: WARNING: NULL check before some freeing functions is not needed. > > > drivers/hid/hid-hyperv.c:211:2-7: WARNING: NULL check before some freeing functions is not needed. > > > > > > Signed-off-by: Lucas Tanure > > > --- > > > > Acked-by: Benjamin Tissoires > > > > Sasha, do you prefer taking this through your tree or through the HID > > one. I don't think we have much scheduled for hyperv, so it's up to > > you. > > Sasha stepped down as a hyperv maintainer a few days back. I will be > taking over maintenance of the hyperv tree. > > The problem is at the moment I haven't got write access to the > repository hosted on git.kernel.org. That's something I will need to > sort out as soon as possible. > > In the meantime, it would be great if you can pick up this patch so that > it doesn't get lost while I sort out access on my side. Hi Benjamin I got access to the Hyper-V tree. I will be picking this patch up since I haven't got a confirmation from your side. Wei. > > Thanks, > Wei.