From: Sergey Matyukevich <sergey.matyukevich.os-P/7pdk10T0iB+jHODAdFcQ@public•gmane.org>
To: Robin Murphy <robin.murphy-5wv7dgnIgG8@public•gmane.org>
Cc: imitsyanko-P/7pdk10T0iB+jHODAdFcQ@public•gmane.org,
avinashp-P/7pdk10T0iB+jHODAdFcQ@public•gmane.org,
smatyukevich-P/7pdk10T0iB+jHODAdFcQ@public•gmane.org,
kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public•gmane.org,
linux-wireless-u79uwXL29TY76Z2rM5mHXA@public•gmane.org,
netdev-u79uwXL29TY76Z2rM5mHXA@public•gmane.org,
linux-kernel-u79uwXL29TY76Z2rM5mHXA@public•gmane.org
Subject: Re: [PATCH] qtfnmac: Tidy up DMA mask setting
Date: Wed, 26 Jul 2017 01:00:52 +0300 [thread overview]
Message-ID: <20170725220050.eksg3j53lemrhgdd@bars> (raw)
In-Reply-To: <2c3f47792b2e38d5584d641d98e82f8318fefc72.1500917445.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
> As the only caller of dma_supported() outside of DMA API internals, the
> qtfnmac driver stands out and invites scrutiny. Thankfully, it's not
> being used for evil, but it is entirely redundant, since it open-codes a
> check that the DMA mask setting functions are going to perform anyway.
> In fact, the whole qtnf_pcie_init_dma_mask() function is nothing more
> than a rather long-winded implementation of dma_set_mask_and_coherent(),
> so let's just use that directly.
>
> Signed-off-by: Robin Murphy <robin.murphy-5wv7dgnIgG8@public•gmane.org>
Nice, thanks you !
Acked-by: Sergey Matyukevich <sergey.matyukevich.os-P/7pdk10T0iB+jHODAdFcQ@public•gmane.org>
next prev parent reply other threads:[~2017-07-25 22:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-24 17:41 [PATCH] qtfnmac: Tidy up DMA mask setting Robin Murphy
[not found] ` <2c3f47792b2e38d5584d641d98e82f8318fefc72.1500917445.git.robin.murphy-5wv7dgnIgG8@public.gmane.org>
2017-07-25 22:00 ` Sergey Matyukevich [this message]
2017-08-03 9:57 ` Kalle Valo
2017-08-03 10:01 ` qtnfmac: " Kalle Valo
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=20170725220050.eksg3j53lemrhgdd@bars \
--to=sergey.matyukevich.os-p/7pdk10t0ib+jhodadfcq@public$(echo .)gmane.org \
--cc=avinashp-P/7pdk10T0iB+jHODAdFcQ@public$(echo .)gmane.org \
--cc=imitsyanko-P/7pdk10T0iB+jHODAdFcQ@public$(echo .)gmane.org \
--cc=kvalo-sgV2jX0FEOL9JmXXK+q4OQ@public$(echo .)gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=linux-wireless-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=netdev-u79uwXL29TY76Z2rM5mHXA@public$(echo .)gmane.org \
--cc=robin.murphy-5wv7dgnIgG8@public$(echo .)gmane.org \
--cc=smatyukevich-P/7pdk10T0iB+jHODAdFcQ@public$(echo .)gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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