Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5041739ima; Tue, 5 Feb 2019 05:34:11 -0800 (PST) X-Google-Smtp-Source: AHgI3IYvWN2HtORsopCF2cmQJ/kBUHQ09l63qQZ0BZxjADgxoHAs8mvAdzS0c3XEXoLx/CK10Wml X-Received: by 2002:a62:fb07:: with SMTP id x7mr4995584pfm.71.1549373651528; Tue, 05 Feb 2019 05:34:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549373651; cv=none; d=google.com; s=arc-20160816; b=CqR5u87xXc1P2/A5laGj2wf/kZbcz+6OnP72XgrcQF+5CLHZJKsjC3Vqq+Bwwcjo92 QU26TepRESp8TvJmCYaJ73UrQCEAkEcgKL1XI4hC7kCVzsbgkQ24vU5+MIppdFSR9p1M 2Bh6qIexQKN/uuhAQrjlhZtwZzL1fM3e5pq7pO5TUMKO18UGXQlqa8KtCw1phlgCymh8 2U5QxtUWKV1GU51pmwvkm9nBtDElLrVw5zjOnmcca35XfP1V+94dq+foezBg06AaI7zV ZdMMLSq4ChkXhqBnoijUf9avI9o3UfwMt20aJkT8TpsyoYsKwofoH2lIFD+lQ2XwfBNK bk+A== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:dkim-filter :date; bh=D+PVRtGJTWAzwNlvwg7309FOsRlPjkg0LaBYKfvrLgA=; b=XcA+LwhQnoKK7b2ERmaPIV44XCg4l+6LvMbtLKw0/nB/x2to2SW1ivp/uQ6E4AUEGx scZqpathMXQeX4gieh/epNffRN14KvgJ/5/EEfJzzvZiJo5V7y0o4wR5/m/tUd9QIVjA FGtEuhbJKsdppyljtQ1pW0sBrRUd9oAhYpWI4KRCJX2h9VPKOzUglCoJt3MjXPW/yUVk Ca+g6uuVwW/cCZEjBAH00aejCSJ8RGMrSNIMMqyzlMtY98whEVU6d5eP8sY/dNpnjPU/ Zhp4vhen+uu+fBuXgQmi8pATYJ10f5/+9qyBq9kp0T5OWjvNd0NPY/QXWJlliUcy18bV 1KSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@innovation.ch header.s=default header.b=TsRlzgCF; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=innovation.ch Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si3146216plt.406.2019.02.05.05.33.55; Tue, 05 Feb 2019 05:34:11 -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; dkim=pass header.i=@innovation.ch header.s=default header.b=TsRlzgCF; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=innovation.ch Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727969AbfBENP6 (ORCPT + 99 others); Tue, 5 Feb 2019 08:15:58 -0500 Received: from chill.innovation.ch ([216.218.245.220]:56762 "EHLO chill.innovation.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726927AbfBENP6 (ORCPT ); Tue, 5 Feb 2019 08:15:58 -0500 Date: Tue, 5 Feb 2019 05:15:57 -0800 DKIM-Filter: OpenDKIM Filter v2.10.3 chill.innovation.ch CBC80640109 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=innovation.ch; s=default; t=1549372557; bh=D+PVRtGJTWAzwNlvwg7309FOsRlPjkg0LaBYKfvrLgA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TsRlzgCFr+AapdZD55bpPKWsXTCzuYNYavYC0yzQ5xQXcMz3zY0jlQIzClADEsUO9 jLTzkcCbHbRwaXq+fQiFIAlgedudg908B8Q5OnSUey6NT/k9IGXCR7N+fsikFiIb6V WwW/yqpVL4dA28mmuLcsQCUJvzxsBBHqhwwNJ3Y4jv4fZPB6VUWxCZ8pCwk0F289HZ CRoMzm95RviqxDoOPGXZVnQHe1flw2dMzg3dKm8EVOxl0FpHjXmhepWaTX6FdYDhVx OzYRbSNb7Wcd3onxVRqo99/Nu3HP19oz+ySWbQjaGWNCcn0Gz19ZB+je79aydXmWTY lMb4Koi84D63A== From: "Life is hard, and then you die" To: Dan Carpenter Cc: kbuild@01.org, kbuild-all@01.org, Dmitry Torokhov , Henrik Rydberg , Lukas Wunner , Federico Lorenzi , Andy Shevchenko , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/2] Input: add Apple SPI keyboard and trackpad driver. Message-ID: <20190205131557.GB4225@innovation.ch> References: <20190204081947.25152-3-ronald@innovation.ch> <20190205102110.GG2581@kadam> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190205102110.GG2581@kadam> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Dan, On Tue, Feb 05, 2019 at 01:21:10PM +0300, Dan Carpenter wrote: > Hi Ronald, > > Thank you for the patch! Perhaps something to improve: > > url: https://github.com/0day-ci/linux/commits/Ronald-Tschal-r/drm-bridge-sil_sii8620-depend-on-INPUT-instead-of-selecting-it/20190205-003319 > base: https://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git next > > smatch warnings: > drivers/input/keyboard/applespi.c:1551 applespi_get_saved_bl_level() warn: returning -1 instead of -ENOMEM is sloppy [snip] > cfa9f3705 Ronald Tschal?r 2019-02-04 1549 efivar_entry = kmalloc(sizeof(*efivar_entry), GFP_KERNEL); > cfa9f3705 Ronald Tschal?r 2019-02-04 1550 if (!efivar_entry) > cfa9f3705 Ronald Tschal?r 2019-02-04 @1551 return -1; Agreed, that is sloppy. Fixed in for next version. Thanks! Cheers, Ronald