From: Ulf Hansson <ulf.hansson@linaro.org>
To: Jerome Pouiller <Jerome.Pouiller@silabs.com>
Cc: "linux-mmc@vger.kernel.org" <linux-mmc@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] mmc: fix compilation of user API
Date: Fri, 15 May 2020 09:09:22 +0200 [thread overview]
Message-ID: <CAPDyKFrB_U4cHHsj3VupDS8-kf-vOcUeOhzO99HZhpt2+xMA2g@mail.gmail.com> (raw)
In-Reply-To: <20200511161902.191405-1-Jerome.Pouiller@silabs.com>
On Mon, 11 May 2020 at 18:19, Jerome Pouiller
<Jerome.Pouiller@silabs.com> wrote:
>
> From: Jérôme Pouiller <jerome.pouiller@silabs.com>
>
> The definitions of MMC_IOC_CMD and of MMC_IOC_MULTI_CMD rely on
> MMC_BLOCK_MAJOR:
>
> #define MMC_IOC_CMD _IOWR(MMC_BLOCK_MAJOR, 0, struct mmc_ioc_cmd)
> #define MMC_IOC_MULTI_CMD _IOWR(MMC_BLOCK_MAJOR, 1, struct mmc_ioc_multi_cmd)
>
> However, MMC_BLOCK_MAJOR is defined in linux/major.h and
> linux/mmc/ioctl.h did not include it.
>
> Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Applied for next and by adding a stable tag, thanks!
Kind regards
Uffe
> ---
> include/uapi/linux/mmc/ioctl.h | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/include/uapi/linux/mmc/ioctl.h b/include/uapi/linux/mmc/ioctl.h
> index 00c08120f3ba..27a39847d55c 100644
> --- a/include/uapi/linux/mmc/ioctl.h
> +++ b/include/uapi/linux/mmc/ioctl.h
> @@ -3,6 +3,7 @@
> #define LINUX_MMC_IOCTL_H
>
> #include <linux/types.h>
> +#include <linux/major.h>
>
> struct mmc_ioc_cmd {
> /*
> --
> 2.26.2
>
prev parent reply other threads:[~2020-05-15 7:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 16:19 [PATCH] mmc: fix compilation of user API Jerome Pouiller
2020-05-15 7:09 ` Ulf Hansson [this message]
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=CAPDyKFrB_U4cHHsj3VupDS8-kf-vOcUeOhzO99HZhpt2+xMA2g@mail.gmail.com \
--to=ulf.hansson@linaro.org \
--cc=Jerome.Pouiller@silabs.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.