Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp494600pxy; Wed, 5 May 2021 07:12:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx0hphZZ5ukItF6c3g3tCFIdrOauFKfRv5hiUqCYQB3GHxKIv93Jyu2i0wW9KyPLxTNY+X1 X-Received: by 2002:a17:902:f68d:b029:ee:9f72:9f7a with SMTP id l13-20020a170902f68db02900ee9f729f7amr29478300plg.1.1620223963762; Wed, 05 May 2021 07:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620223963; cv=none; d=google.com; s=arc-20160816; b=yEtw5TetGpVrwB74AVOtexN2F6wCUQj663DMWZPbpv4rD7/YAciN1dVUtOgdq5Kx8K gOTdAtSMnm8pZEqDxFE6ILy83qdBuzylitaV1yOQPnZO2QLAMuyHgtHr4jrCcsAuOD/b 4pc87FHEVrdGWgtahx0k9KPIWkv5Q58/hsMW85Y1/vJiTNmc0GbbKV3C3244OaFRn0Pl YNZNrnrhS340aIg/YqjsCviNCd+addQv8Ok1FyHSPt4CZ5FTpXFPng1uU+OUVT991TJi I98FcKa/OSHakap5A7vure4YaWKJeqnYa+SBNhYvlgrSr1n79u/rhjq0DikmqLVgk8h6 eNLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:message-id :in-reply-to:subject:cc:to:from:date:dkim-signature; bh=xK7kqgjf1afjNktshIcFu84eTLND+XoKlNnxpn78uRA=; b=qizh3ICCl+8tVPsqiuk8ioTPx6oRsn6KpUX3pe4D+HXODJvuwvVN+uxdOUqKMzLwLx 3IXBvhrMY1L4zJzQ6BurghGacJhvnKtO6v6ybPtIrP5L5AYGN0kKA3ImXfiEoFU1/rdR RXf983+uhLWe2Z5Ksz7D5ANXkLHSaHP8Dd7jlKZhtzIdIuvlO6HQpJ4qIMMBf7er8fV8 rt8dNBaKLdFDzgcye1kgFJ28fxPdm4WzS5iWPvlgBW4l7K9Pb6e3J0X33ElDT32E/aXr 6aNBn0OTtZ3BGwDENKDlBqFSmpGYXNKrRmL4Kl0hIRxkY98pAD0TV85m4LP0z+Ha2DZ1 d5sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IXgiXhy6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c20si6939032pgc.344.2021.05.05.07.12.23; Wed, 05 May 2021 07:12:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IXgiXhy6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233502AbhEEMiL (ORCPT + 99 others); Wed, 5 May 2021 08:38:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:51578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233295AbhEEMiH (ORCPT ); Wed, 5 May 2021 08:38:07 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4D6BE613BC; Wed, 5 May 2021 12:37:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1620218230; bh=fdtoiOO8qA6Z15EU3pkpce86bDIJDbnRKUIpVmpH880=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=IXgiXhy6NOI2gMa6vixpLEtJSHF4czwOYOHahqaiFyQA6bJfskwv1X4ykyeC0eI2M IDs2vu/QZK7pJ5lC1NuTRUptPrcvTKH6Y0dyjs7/CPLUmTE2UMwN4IbQvZjKVT0eeS KR/gRG7wxxTpxY+CVSpIXZv04o4fa3mgPIhea4WcCMNWVxxd7Tw4uhBnrsBHMhP8c/ 9HJgBYwDEtReiCYEsRBbwSmW7Tlyj1aBrmWCo+iGfz2D4QqNY92EjQcPoG38pE87Fj 6bC/i+4Ad03gh4wdlZXWccntL223HbBbtnm96DDiiF3XHrViyCt5d5+VC52ImSJvr5 7XCG8wtTdwySA== Date: Wed, 5 May 2021 14:37:07 +0200 (CEST) From: Jiri Kosina To: Srinivas Pandruvada cc: jic23@kernel.org, benjamin.tissoires@redhat.com, jiapeng.chong@linux.alibaba.com, linux-input@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] HID: hid-sensor-hub: Return error for hid_set_field() failure In-Reply-To: <20210415185232.2617398-1-srinivas.pandruvada@linux.intel.com> Message-ID: References: <20210415185232.2617398-1-srinivas.pandruvada@linux.intel.com> User-Agent: Alpine 2.21 (LSU 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 15 Apr 2021, Srinivas Pandruvada wrote: > In the function sensor_hub_set_feature(), return error when hid_set_field() > fails. > > Signed-off-by: Srinivas Pandruvada Applied this one, thanks. -- Jiri Kosina SUSE Labs