Received: by 10.223.176.5 with SMTP id f5csp2976388wra; Mon, 5 Feb 2018 13:25:45 -0800 (PST) X-Google-Smtp-Source: AH8x2266j3KZYGWu3EvR9EBJpTR1fuH9CSHsBVgpydV8sWusN4shzBtfFl8pYMz5YvFn/zQgxv+8 X-Received: by 10.98.141.199 with SMTP id p68mr152630pfk.25.1517865945571; Mon, 05 Feb 2018 13:25:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517865945; cv=none; d=google.com; s=arc-20160816; b=boflBEOyKn2ZnHbFsOwXO9rUbXKXoCcxBcpYBcBuwEzmriEtTRLdsJazarKoU1pXJo iftIptJqDmW/qqHyTjTLxDH7TwWkr2eF1sijPCCJHIGfxcBEZw388/+GVD9O8AGOl7Wd 4yJfim/YQTenm3Mbjsgq+D44JaC3u7H2EPuteI6MokQDbO/Alw9IysaGUCuDjkqYFdtZ Ij5eMArhWVZKwdzpGICxwbpgz0hQORfCKtWIS2bekDaBvVmVyp4W7MtKsjqh1UW3sc1Z 8VrbXtw5m+TL5bxY00k9b0qFEKZHnxO5vAyk+0hX6pa46NUI9tF4v3m5ypkz7+sxRDCB LhMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:cc:to:arc-authentication-results; bh=Lw4Wc0CUAB3AJNCFrIZPyebHI0Fm43mnjdTXTkTiBTM=; b=c/DHpl/UckZrIhJ0WZ8vQV2357zLih/Zfa/+xljLTSxUZ9Lt4rZO2R6G5vg1VzEsXJ E3r5hTt+QgKWcINg+H3SRsDsUPW24MFkJmqF4XizlokICJDzCFc38V16sqj/HbtQgxpg svZaA2J7DE/OaOQbSD4aZwWRWFIxHZ786wrSOnwRu+UbqTs9ie5EZfabbAXF6JVilf5+ aQ9a9/lSBeaf0+kw/l3BKMFrp9t0GfNmMa77Ork7WicdWa/BCCBzkNIHCdpoYxFme0Ym fJtFmPCaGtPQf8+WedzLIE9CYSvTvIglVOR4TIXuCnsAK/4bXCK0UqdOV9qr3M/zWtnm dD9A== 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=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z34-v6si3363643plh.45.2018.02.05.13.25.30; Mon, 05 Feb 2018 13:25:45 -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=QUARANTINE sp=NONE dis=NONE) header.from=sourceforge.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752029AbeBEVY6 (ORCPT + 99 others); Mon, 5 Feb 2018 16:24:58 -0500 Received: from mout.web.de ([212.227.15.3]:39247 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751927AbeBEVYw (ORCPT ); Mon, 5 Feb 2018 16:24:52 -0500 Received: from [192.168.1.2] ([92.227.235.192]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M3gLx-1f0TYw0u3d-00rHDp; Mon, 05 Feb 2018 22:24:43 +0100 To: linux-input@vger.kernel.org, Benjamin Tissoires , Jiri Kosina Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/4] HID: logitech-dj: Adjustments for some function implementations Message-ID: <12e9f2fd-5e85-fe8b-5eec-cd1712b07166@users.sourceforge.net> Date: Mon, 5 Feb 2018 22:24:40 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:xf+BZAT3AEisoM6nVDK7EahrdFnBIHKqdt0HfKhr6zmYLUmf8gB qqUtNkFucPgHDtq+fDh92B38vj1HCX/VMn0K2JYNvreaFzX08QxLCmzafvoJs5iygTr69CB BAFfCCeiFTItWg/UtPJ0p9GItSDg3PMLhVoVM2wQTRCezsaDdNJqdvqt+aPuAxyJo8Puthl 2qylqquLmua2yE4MX+iuQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:DRVtAtnnQ28=:hHyQcgdxDYM2jpGGRginCx QAVCDwx7kNAG1Oc7Ujv1CTEmMCpz9gAa0L0QRsuSGUkDMfmyurRVPvb9h8/WmN9LpalAYMwhO G/6y382w4Lo5JKnKMzwcADs97DG+6bvi9COyo3ddXSB7H4JKDuKYtMxhOEl5QWFTTMQHy2a4x lPqEeNcIZwXOeKR7QpqUM5VeZ9NPID3phJqCj1mJ+FKB8+cK6P0kxtrTIR/imm+vqiuvq01QI avbl54e7uCg7FlqH1oGswROF03SFYtlroVj8nKxzwGvacX3rWERmcyKA+OtA9QgSuuM8g543t odW9Ikz1bc36qamAcY8dagE+xHbytSJDz+6/gPmnbT2KlQfBLQMDZxOKv2W2ZJ8TF91og49RD Nf6w2i9fo5hsrPxjM7NYgQEya/exZti7Karcs5zVBzzwlSl3gdKEltlP4I89bv3AaMSRVfwai iprKVaN+HKCowQuhb66MR+dvP76JdMkiaWZJXoN0odSMu9ZCKT1io5svJ7aAKeYJtAmNlOWx0 hFaMhBtxES8xrOj/bPwzJ2G2fbLzBSb6yeGsqtBkoxCGZbJN+qm1InJ/Zqvb+Zkxmt5IpaUzc wO2Q20QbrCmjpgNwSdawP2cB//Yrprv2f08cc3Q2YxWTNidcvyRtXLnF12RAkRvvKiWJ0+Gwg UhcSR1fSvLlKfQbuT/skJWSjQYjJ054lrX72ydgxLHIQoVmduyuXI5UzFptCuoxa/r3q2/Ja0 YBEO0z3BoJzxziTSVFNWWRkuMbZNm7HINLXTdUujY7icuLEDjm1afJQ/isEvZv7bQkBBdJQVO U0i9U0SiQIOumzG5MF8EjQyc9FraAG51laiJYnpKOwJjx0nkN0= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Mon, 5 Feb 2018 22:22:11 +0100 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete an error message for a failed memory allocation in two functions Improve a size determination in four functions Combine substrings for seven messages Fix a typo in a comment line drivers/hid/hid-logitech-dj.c | 53 +++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 30 deletions(-) -- 2.16.1