From: ygardi@codeaurora.org
To: Akinobu Mita <akinobu.mita@gmail.com>
Cc: Yaniv Gardi <ygardi@codeaurora.org>,
Rob Herring <robherring2@gmail.com>,
Jej B <james.bottomley@hansenpartnership.com>,
Paul Bolle <pebolle@tiscali.nl>,
Christoph Hellwig <hch@infradead.org>,
LKML <linux-kernel@vger.kernel.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
linux-arm-msm@vger.kernel.org, Santosh Y <santoshsy@gmail.com>,
linux-scsi-owner@vger.kernel.org,
Subhash Jadavani <subhashj@codeaurora.org>,
Gilad Broner <gbroner@codeaurora.org>,
Dolev Raviv <draviv@codeaurora.org>,
Vinayak Holikatti <vinholikatti@gmail.com>,
"James E.J. Bottomley" <jbottomley@odin.com>
Subject: Re: [PATCH v2 7/8] scsi: ufs-qcom: add debug prints for test bus
Date: Fri, 21 Aug 2015 22:23:30 -0000 [thread overview]
Message-ID: <545cd2cdf947a2a59f5d021c27bdc78f.squirrel@www.codeaurora.org> (raw)
In-Reply-To: <CAC5umyhRBDW0OxmDiw9TMHNm-kz1f_wcE0iZ3dY=MkfnMywUNw@mail.gmail.com>
> 2015-08-20 22:59 GMT+09:00 Yaniv Gardi <ygardi@codeaurora.org>:
>> @@ -30,6 +48,14 @@ static void ufs_qcom_get_speed_mode(struct
>> ufs_pa_layer_attr *p, char *result);
>> static int ufs_qcom_get_bus_vote(struct ufs_qcom_host *host,
>> const char *speed_mode);
>> static int ufs_qcom_set_bus_vote(struct ufs_qcom_host *host, int vote);
>> +static void ufs_qcom_get_default_testbus_cfg(struct ufs_qcom_host
>> *host);
>> +static void ufs_qcom_dump_regs(struct ufs_hba *hba, int offset, int
>> len,
>> + char *prefix)
>> +{
>> + print_hex_dump(KERN_ERR, prefix,
>> + len > 4 ? DUMP_PREFIX_OFFSET : DUMP_PREFIX_NONE,
>> + 16, 4, hba->mmio_base + offset, len * 4, false);
>> +}
>
> This causes a sparse warning as __iomem pointer is passed to
> print_hex_dump().
indeed.
any suggestions how it can be fixed ? I guess I shall try casting.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2015-08-21 22:23 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 13:58 [PATCH v2 0/8] Fix error message and present UFS variant Yaniv Gardi
2015-08-20 13:58 ` [PATCH v2 1/8] phy: qcom-ufs: fix build error when the component is built as a module Yaniv Gardi
2015-08-20 13:58 ` [PATCH v2 2/8] scsi: ufs-qcom: fix compilation warning if compiled " Yaniv Gardi
2015-08-20 13:58 ` [PATCH v2 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component Yaniv Gardi
2015-08-20 13:59 ` [PATCH v2 4/8] add ufshcd_get_variant ufshcd_set_variant Yaniv Gardi
2015-08-20 13:59 ` [PATCH v2 5/8] scsi: ufs: creates wrapper functions for vops Yaniv Gardi
2015-08-20 13:59 ` [PATCH v2 6/8] scsi: ufs: make the UFS variant a platform device Yaniv Gardi
2015-08-20 23:43 ` Akinobu Mita
2015-08-21 22:19 ` ygardi
2015-08-23 21:06 ` Rob Herring
2015-08-24 8:32 ` ygardi
2015-08-20 13:59 ` [PATCH v2 7/8] scsi: ufs-qcom: add debug prints for test bus Yaniv Gardi
2015-08-20 23:42 ` Akinobu Mita
2015-08-21 22:23 ` ygardi [this message]
2015-08-22 2:56 ` Akinobu Mita
2015-08-22 3:07 ` Akinobu Mita
2015-08-23 8:54 ` ygardi
2015-08-20 13:59 ` [PATCH v2 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations Yaniv Gardi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=545cd2cdf947a2a59f5d021c27bdc78f.squirrel@www.codeaurora.org \
--to=ygardi@codeaurora.org \
--cc=akinobu.mita@gmail.com \
--cc=draviv@codeaurora.org \
--cc=gbroner@codeaurora.org \
--cc=hch@infradead.org \
--cc=james.bottomley@hansenpartnership.com \
--cc=jbottomley@odin.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi-owner@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=pebolle@tiscali.nl \
--cc=robherring2@gmail.com \
--cc=santoshsy@gmail.com \
--cc=subhashj@codeaurora.org \
--cc=vinholikatti@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).