Received: by 10.223.176.5 with SMTP id f5csp2979221wra; Thu, 1 Feb 2018 08:55:56 -0800 (PST) X-Google-Smtp-Source: AH8x2279J0xZ/doRTyu62e4bOg18bv1Ss2MqsFVaz4LVOSgBWakYeI8aFGvG0aROGIQccLcmSpxE X-Received: by 10.98.102.4 with SMTP id a4mr37416536pfc.210.1517504155887; Thu, 01 Feb 2018 08:55:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517504155; cv=none; d=google.com; s=arc-20160816; b=qyc3CqjOOK2MPYaKOiS9k4n6xtVMUqakAiz5Yzuq2aAnpXkqc795+HiUDZf5plG9fY DGMnUnSWtNISYjKADqh42+7XA0UryO9G8KHVYg08AoVTB1v0BkcuTMuywfM37b421JTj /TYYCRfC7cw3820qp8oFTytfqLyZswNRMoHUaaSEPty8eHlxpz6wV/v05+o7rVhSFiCL QNsMt13pn9k1XYnQ4R/fbtvR7J/2qQ/VeUnoqB2HSWx0P4xYikuUU5GO6G6MLhxZvq9K SjE8FjKMNeiRlHwlIvTIfw5BRBvd9eIIbi7fHVNVRxaOczq2J3WQUF0pVQHTzU4/m38W EjZg== 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=OXxTlPzrBxqu6zd1Ic0yTurXIMyVlT7hgelZNHH5o7M=; b=htxc9p1QV/efDe/ykAAExugdls7VSG+fpXerfdTD1Of/xnw9iL+POweIqTZxhNYbFH 4skeB2nntBcxn7DDtjI2t6HXjcrpm6LZTcKyaObA5NNsxzU+Fd9kJmPF5FghcSo6xYGf GTvNVIN0ucKLnEeN7hAt+lqs73cNsLpHqc7PbzQLn7w1TPieWw3Kj7bn7n6lba8o7ota k8nEKFfdYOehoO0I7tqwptWyqxe9btQ+OjI3QdmuYbGfZRyvuXFMnFaL1aoBcen7DBba CQf2vovSiWXDeafFjfoB3ReMsHilrgQqxoxZKtH+4BSvJQFyZ72C+i9STLRJwW4IUgdv 5dgw== 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 w1si2845837pgt.182.2018.02.01.08.55.40; Thu, 01 Feb 2018 08:55:55 -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 S1752542AbeBAQzL (ORCPT + 99 others); Thu, 1 Feb 2018 11:55:11 -0500 Received: from mout.web.de ([212.227.15.14]:50894 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751783AbeBAQzK (ORCPT ); Thu, 1 Feb 2018 11:55:10 -0500 Received: from [192.168.1.2] ([77.182.97.34]) by smtp.web.de (mrweb004 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LxqwW-1emuK72OuK-015FDu; Thu, 01 Feb 2018 17:55:07 +0100 To: linux-i2c@vger.kernel.org, Till Harbaum , Wolfram Sang Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Subject: [PATCH 0/2] i2c-tiny-usb: Adjustments for i2c_tiny_usb_probe() Message-ID: <5ab52458-e334-bb06-8d7d-66b48ac3f30b@users.sourceforge.net> Date: Thu, 1 Feb 2018 17:55:05 +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:rxp0ANqcZF8QMcykVyGInadZ3prDswE3xwih0gVRe3/TRIRgMMS RnHGM7ajZQYMU1PsDIrV8UBIwEF2nuO4tq6Boo7x3bNoLLuWTirKqn6lRxlN4N4iavJxFUY KAyo/lyHqcQSbSmx9M0Lg0RpQXst2ABZyR3HFoK3jBvxo4mbDS+wn5mnjYXhGvg0o39QRfB 1Lkwi/v8JLF+m1u3TB4OA== X-UI-Out-Filterresults: notjunk:1;V01:K0:cV5QU8PYvs4=:WkBSceXqppG8xWUYS38bGG cvpIPHTkA+m7i83xlc1j+9k41Y55Hx4jKVod7SDBkST3aJurH3DMLdci/R6L5wQdOjBvR5hZs ky+Bl5krfFFvztMnGzZVlFNB61ms+65KxZ9B9tg10HbG5Sh3eqZFbrHiSfXrmM/Ib+6iR+0I2 sELRRP3mUQJoBfjphb6LnFZGwMiwrE4/17NTFEL/u+l3pAE1NUgXAV3sqe7a4TiQvqwA6EM2a /GR/+RpwIOrCu/Xxcz1VvQ5/cb8HQQU4Yjv4A6dJspCcpZPFfiJp3XLh6CeBX37s0K0meWQDs nr8Nngx59f5a5ONUARlttsRqTPGNqH/ZxS/MkuyPIGtnWhY4fECu4Apvl4W3EnS/w4DDSqw3Y bCZH1fGuTcMX7bpSa+HTZkAwytm1Fkzijmj4Ap7HPfoXzZE5+jP9Oeu+dNo17W/gaT36owUYN gH0LMnUYJ0FrmJrBtQnforjdeQk2TWwPcEs05PKd1K3yJzxoI5/WvrY8TVhV39fVOfIJxLbJ+ LUvUa+rl/LFAFy5f1NQZDOOD/FO4RyPW/r5i4Yd5J4Hg78SPElc6RIxzvQ0yQ67jqIFz4/MlH juvLzKkXskda8IXwkiP0kGCJJMCYGFg1/GOGCR9OChgT/2F9ZtmP4OMVaOk9ecdtklOA1VAyq P8+9Vnral8RnpbrIeOh/TZJktiCxaQG16GopmRP3BlbMIvMNZhULxL5il1Q9lm478Z+Yefm2o jXTYrnEzeD1f+mKRQkot1rBaIxLBQc68ABPk4sUmPVXZ/0ORJn70BvzHKZcNirJ2gC45xKVqR qzQIjEGenlECR9Kb2NNmjruKlnZ3f6m03cOMcNqLDPtBLC5O5A= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Thu, 1 Feb 2018 17:51:23 +0100 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete an error message for a failed memory allocation Return an error code only as a constant drivers/i2c/busses/i2c-tiny-usb.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) -- 2.16.1