Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754662AbeAGVBF (ORCPT + 1 other); Sun, 7 Jan 2018 16:01:05 -0500 Received: from mout.web.de ([212.227.15.4]:50275 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750965AbeAGVBE (ORCPT ); Sun, 7 Jan 2018 16:01:04 -0500 To: kernel-janitors@vger.kernel.org, Arnd Bergmann , Greg Kroah-Hartman Cc: LKML From: SF Markus Elfring Subject: [PATCH 0/2] misc/apds9802als: Adjustments for apds9802als_probe() Message-ID: Date: Sun, 7 Jan 2018 22:01:00 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:vK9uaS5DLfZiY2Jaeo0FM39wUrdTl6myW2tkEPVdPUZjtNgewM0 opzaBO6WdrHR69RzKQO2kZ/VJ2uAuc131JvZLVcMXF6g4kzMHPzEtikaEkF8ec0j9H0hORt GL5F96AiH8cloC1BOAVW3onmE+M2N85hA7uBZSzryRD+EUpm/4Vr61OLG5LCH0AfH1EuiI3 CrmegaCisWWvKCJMVjydA== X-UI-Out-Filterresults: notjunk:1;V01:K0:uvHJ8F4oE5E=:7XJbhVKT/cpuQOw9NzwXxU xE+wB0Ua3H/tweNrcJucEbo4De5/osdjv+swaEeiy657jt2u+8js5GrjqvmH2eAnQ9IcRlwF/ L5Dv0O+wNt2Ht8K+i7kJ3zYghlfCli4ucZ9vU4xKcc3SgYcaOY2x2/bNO0ClQC9Y9jGM57wg9 UmWmX8GDsevSFOWxneh3cE2ERvWvq6zZDIx5xqXolDjjEXmikuG1MlAqg2fyQxvZKSMHbeNsc 5kWEqEAB/p1qfeWaFTyuMSruaeV/A2DJYf6CNOFQyBL/SZ7V3pn/auY9hShv04hI8ajGgrkLC gi6NW1E9zcZax72lVZpmmspnVUvjEIzb8loUPdyflXJ+GoxzgzqyMFfKb6tZWOqTPl5T4YG8z +hNGjI0Iza390ZHNcsWokytrZYBrEfE4EfoxNkWOLw7Qagz8HaQpAVenOhS1ceOFQXO6q5oUL x8SM6NIqEx1XZMqloayuoSbuVTsh/F9LuItYMbs6gmm/MQtP5CdnUTLdFkx4rT76eYQtIXN/u 0cJ9Fr079iJHtxyDus3XCAxaLP4dWf3/m8cobUsWER0jBxGQlzviOIzwXA0IhdLIh+uvNXjXY g6Tly9H+Da5P3mMoOKnutf3NoW0ZpZQvU3ddo/EHMDQVpD7UFMlJC6BtrIG1hHo8F7K9d0gNQ G5XcZACwjLkZh8QyCKzYUh7at5VoiUfz6I0g47qu1R4lQGZumtjNQmvCvhmJi7SVH2Mwj1f1h AUmo4yf1W4WEsR/8i4+qTeYRvQVaJAY6yT2TWcEqthN+eDe9Za94NcqDftZcd8DQiHiDG+E0c qFlesqm0JUkAwuv0RPTZAjHhR9eYMzupjrKxb2YzCtUJe+Ubb0= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: From: Markus Elfring Date: Sun, 7 Jan 2018 21:58:42 +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 Improve a size determination drivers/misc/apds9802als.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) -- 2.15.1