Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1024859ybi; Sat, 8 Jun 2019 00:30:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqzTAWtxHxHVGgwUszzvgl83CkOq/pVfnSsphkg+x35A9FBNzH4zYsKO/0/GSx8StLrW36BA X-Received: by 2002:a63:24c1:: with SMTP id k184mr6551536pgk.120.1559979032567; Sat, 08 Jun 2019 00:30:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559979032; cv=none; d=google.com; s=arc-20160816; b=D76Qib+irBuKvr8FwHV+EW4blMeh8S2KVfeUHV1WmdAv2D+hDkG1zL4biGeT0hPmXj vdwGOXFecKtRU6MFYksK71Z4iiY29MMn5WEurypNYmgYGt+rtFyvNFtSlSl+L8u2jzBy gszAToXuj0p8TzYehMho3vR1QCVc1VTOrNK3YrO//aTed/onptCiBj/xZPQ7WVFAokT+ oKG2zkiHzOLcqKWzrgmrBSBGcuwaL+D4a5mmtM++1OKr/zifqi4CpnyP0edbNj5XxSTb GvlCTOTZ/osG/821RP+VZEs1L94jj/jy6F65OYwWBLeEFVFHrRjbQD+i5NqYsUd0GJ/r dslw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=u3CahkhmSiM44HPpH15qbfZKuXzf9Enid5wRXgbVRzs=; b=jlnVypxUgvQeSbTDE07nxtzejteVqGzk69e/HotpUsZGnwdPIr62xm2HijaX+MITeD XkoG1YfVnXoK+dXXW2qRlEIPKfC9t+1CJJKIERaf3oVnk6cSaWsndZlnSnQWeSU6QS3U JZ+WzTYyT8G5sF9QbKZdQCzkad+j7TNOWjYhgQOhOLZQCRMI10WOWj8aWzPUGxB+aG5y GbqyC0i4taxBdtw1x9vJcrcqPM5QDCDSrGJZ+KRdfTEyhiY3xi40QuVRuCHgYyCk9Ms/ Vd92qiz2GKTtI7xlQas+v4o3eExreD+ji7WHPuCunuwAyGEU/+gYOFHG8nZQSlIpxdR0 NgdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oI7K3Ky5; 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 y10si4167403pgq.173.2019.06.08.00.30.15; Sat, 08 Jun 2019 00:30:32 -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=oI7K3Ky5; 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 S1727001AbfFHH1w (ORCPT + 99 others); Sat, 8 Jun 2019 03:27:52 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42538 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbfFHH1v (ORCPT ); Sat, 8 Jun 2019 03:27:51 -0400 Received: by mail-pl1-f195.google.com with SMTP id go2so1658522plb.9 for ; Sat, 08 Jun 2019 00:27:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=u3CahkhmSiM44HPpH15qbfZKuXzf9Enid5wRXgbVRzs=; b=oI7K3Ky5YWP4vEmEaG26Gk7Hc9F18TkCUNPvTuvYtP1PLJEPrkU7rHxO2v/L0GPDSf BEnT7rW+WK62rddCmTDAEXQ9LhbNsBYG3VoMDHsTahKzGFReGtuR7ciBJVm71523pBNm bh0UR5op5/VSqeA8OMy1rNCV7efUGgEAvchjrt4z77pRY+URwnhPR8QPq8IrsZ6dHHa6 VjqEf8yV7a1m6cq/3ApvhOm8knVZwRBD95I33fbhqnYDVyLDLjZ76o4We3G31hni/nrb gNdngn7cgP4WTwDg51wl0Sv7JmWLRxIRcB8iUDZ91KoNYWkx/5eQT6eCl/xHWzCDgxFS W04w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=u3CahkhmSiM44HPpH15qbfZKuXzf9Enid5wRXgbVRzs=; b=YIXuk45/ftdR1JGX1Lh9aJQ4i6HejXwBXrEey8xHWTWZECuNn+jkDPCUkdY98yJ9T3 vk5i1eLz+V6YHj15iXM8RtSyjrCW0e3cHqf4oIjUkiTGXUHK2P4LsFh/tXOgYvKQJN3i y/8qs1A4vgplBkhDVSVLwSJNlsV8eO7jaPMp6XVR9DzsqTB9udSPkd7q4mwI6mJe5K/5 wIYsFA/D2XHHDULCS/LSJ5IUwP6BLGByNfi4gKWC1OyH1bFpwpOUIrwBbWA93GqVLat6 RVktPHLRP9uXoof7/bJ9q3jfL0sg07Cnwuwx6cjrnVGsWzbJ8WWmC72eXFrfGgFvlneG t9+g== X-Gm-Message-State: APjAAAVS9vWieTCaYwUySp+z3+ffXqxYc7FZUQUl2phtW+zhR7RcUQqq kUrWhY8GOHXWH9+fU2xiyxE= X-Received: by 2002:a17:902:24d:: with SMTP id 71mr61476859plc.166.1559978871004; Sat, 08 Jun 2019 00:27:51 -0700 (PDT) Received: from localhost.localdomain.localdomain ([192.157.107.159]) by smtp.gmail.com with ESMTPSA id b8sm5092440pff.20.2019.06.08.00.27.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jun 2019 00:27:50 -0700 (PDT) From: Hao Xu To: gregkh@linuxfoundation.org Cc: gneukum1@gmail.com, haoxu.linuxkernel@gmail.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] staging: kpc2000: kpc2000_i2c: void* -> void * Date: Sat, 8 Jun 2019 15:27:46 +0800 Message-Id: <1559978867-3693-1-git-send-email-haoxu.linuxkernel@gmail.com> X-Mailer: git-send-email 1.8.3.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org modify void* to void * for #define inb_p(a) readq((void*)a) and #define outb_p(d,a) writeq(d,(void*)a) Signed-off-by: Hao Xu --- drivers/staging/kpc2000/kpc2000_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/kpc2000/kpc2000_i2c.c b/drivers/staging/kpc2000/kpc2000_i2c.c index a434dd0..de3a0c8 100644 --- a/drivers/staging/kpc2000/kpc2000_i2c.c +++ b/drivers/staging/kpc2000/kpc2000_i2c.c @@ -124,9 +124,9 @@ struct i2c_device { // FIXME! #undef inb_p -#define inb_p(a) readq((void*)a) +#define inb_p(a) readq((void *)a) #undef outb_p -#define outb_p(d,a) writeq(d,(void*)a) +#define outb_p(d,a) writeq(d,(void *)a) /* Make sure the SMBus host is ready to start transmitting. * Return 0 if it is, -EBUSY if it is not. -- 1.8.3.1