Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2512738yba; Fri, 17 May 2019 19:32:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqzGCDqrID0avDC9CeMmxhuzjKXCL0VWaBp8gyUjS6bBRwBaaeYJP8OmZWYmw7un0vhZcj+v X-Received: by 2002:a63:d343:: with SMTP id u3mr60514996pgi.285.1558146759720; Fri, 17 May 2019 19:32:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558146759; cv=none; d=google.com; s=arc-20160816; b=idP8cZelBjQBLovyv/QrRwaMT4vLj005O+RXTBtMv8Ymy91hvB8qS1J9pUeSY4f73g Du2H7yuOVvUw2ggONbdK5fiY6BXEj1oK4sWBSzlQeCt1agv4945rRcQ9pKQ7I3xf9Xb1 E46XwXnkGN/BMUfhH+O4Y018q3EB5spMhzjHRZ568QWD0S2sDScqNcYxDYi56oGhvAQD I0+LXqMl/4CFIj6d5mvRBC7jWcXPFKKfDiux32vM2q6mFdqpeq1ADDmQ4w8b3mdefpgF a+MKC+KtM2edVTClb6gH/ukLczsMP6dik1d0F8ON80txkLy+gT8uT319IKdjqP1OkXt9 wQqg== 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:mime-version :message-id:date:subject:to:from:dkim-signature; bh=q67f1b2VxwMpxdmTspg9aRXu3YBX/BaqwxIwMcxxa5A=; b=Psn3EQklUlS5Pj9HzKH3IYkUo6iH5JzhTS+TZlgou/MpqSrn2uvxf8kOeSoYm8bJvN 9a6372mKFJV6yl1f2Z+5KezVnZJkGPcKalDDtPIWg0i7MH/GSO3oHVYitD34YmJHST2c vYcBUE62sWqz3ulZf7UitxG4KVY9vYBBP3XtVXQYQD4N5N9HuO4JHarmQoKZQkV6jiiE T5mIlpmmF/1zgkjPeiQQh0M3udRXwQkO98MrDqe0OQVD28gwifdKqKQywMMD1NORhGPb Oq2m6roNMLXg8HUW9vlz8CqfzYQ0NnyZe+57IMN+FphB0w8S3Guhm4+FeQHaLQn8VCtD REiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CRO1qdgY; 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=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si9696075pgf.479.2019.05.17.19.32.25; Fri, 17 May 2019 19:32:39 -0700 (PDT) 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=@gmail.com header.s=20161025 header.b=CRO1qdgY; 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=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726990AbfERCbI (ORCPT + 99 others); Fri, 17 May 2019 22:31:08 -0400 Received: from mail-qt1-f195.google.com ([209.85.160.195]:38091 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726200AbfERCbH (ORCPT ); Fri, 17 May 2019 22:31:07 -0400 Received: by mail-qt1-f195.google.com with SMTP id d13so10250902qth.5 for ; Fri, 17 May 2019 19:31:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=q67f1b2VxwMpxdmTspg9aRXu3YBX/BaqwxIwMcxxa5A=; b=CRO1qdgYKtpsKf1QqpQyrnSqu8vePhC+DaL23Vwv3zpWWx5DdVd2o/kH7L5qLlalr2 VHom+PuE4UGqtHX78zcC9GIgXHqF1z8nzroNbvEyGc5/2U8k/wQOG7JdyPZ+yNpcm4AC P/fleD2A/UqxDOhuknM46vITzzRgAwj0+txNa6JeKB2VqjUCyocGTAkZwRTG+Febyyoq nQGgBbu4q22tpIUhWjmZ3niNV9qBkj6p9HFG8PcA2rPf3335tn5KcSi5k5xfxjZNKe9c 6PCcMY2PTmM2bXBQ73yI/ExKIF/g7KnNCNuvpvZY4Gp9Esg+zs8Pu+Tw9frCUcYXSj2w fckw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=q67f1b2VxwMpxdmTspg9aRXu3YBX/BaqwxIwMcxxa5A=; b=mvxMHfMWvku4AfDzfhJkQgTkMsMYJQUGVoegW4ecfDKi0g3H7AvzQTLVcegZQanM9n K5cqx/iXQDJ1qxLKsovmGKH+uXPbjmdam0HOjqbOZYFP8FXDg+LU6NpRUthmKQNV/i69 GXSajujIE1F6T5fmbGmWm8EADTknnxclfqpGKwrZFFuZE9r2RycbiVkoDjXmJGOCrBIv KcEaurUV1hDaVv4FAOkD4pX2z8Zo4bJVVh9Zsq/xKee7B80IRqe1NFuxjijiQPhBLCOb jkQPHl0VNIEza6ml/Y088PRrO7mZ7YE+F+OxSWxv1TV0KejKQhPIDYUu9X4tuebfOaMX PGiQ== X-Gm-Message-State: APjAAAU9zOpPovejwWbLbKByIXWw843AZEjaahP960BbqnsW0oECp3I8 Sx/ENWaDUC4SeRsYDKQQ7rU= X-Received: by 2002:a0c:b621:: with SMTP id f33mr19245270qve.199.1558146666930; Fri, 17 May 2019 19:31:06 -0700 (PDT) Received: from arch-01.home (c-73-132-202-198.hsd1.dc.comcast.net. [73.132.202.198]) by smtp.gmail.com with ESMTPSA id n66sm5210322qke.6.2019.05.17.19.31.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 May 2019 19:31:06 -0700 (PDT) From: Geordan Neukum To: gneukum1@gmail.com, Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/5] Updates to staging driver: kpc_i2c Date: Sat, 18 May 2019 02:29:55 +0000 Message-Id: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Attached are an assortment of updates to the kpc_i2c driver in the staging subtree. As a quick summary: Patches 1, 4, and 5 address style concerns raised by the checkpatch script. Patch 1 (a reindentation fix) likely added additional 'line length' warnings, but given the fact that they were only hidden due to a nonstandard indentation style, I elected to defer that work to a future patchset. If the reviewers should disagree with that choice, I'd be happy to fix up those issues in a v2 upload. Patch 2 is a reformatting / reorganization of the copyright header at the top of the file. I attempted to look at some other drivers in the i2c subsystem for inspiration, but I'd be happy to drop this isn't as simple an update as it seems. Patch 3 addresses a potential bug in the cleanup of memory allocated in the probe method. Geordan Neukum (5): staging: kpc2000: kpc_i2c: reindent i2c_driver.c staging: kpc2000: kpc_i2c: reformat copyright for better readability staging: kpc2000: kpc_i2c: prevent memory leak in probe() error case staging: kpc2000: kpc_i2c: use %s with __func__ identifier in log messages staging: kpc2000: kpc_i2c: fixup block comment style in i2c_driver.c drivers/staging/kpc2000/kpc_i2c/i2c_driver.c | 1043 +++++++++--------- 1 file changed, 527 insertions(+), 516 deletions(-) -- 2.21.0