RE: [PATCH] mmc-utils: Fix build error MMC_BLOCK_MAJOR undeclared

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The reported build error:
> In function read_extcsd: mmc_cmds.c:72:18: error: MMC_BLOCK_MAJOR
> undeclared (first use in this function)
> 
> In commit 118dc4a0909f ("mmc-utils: Remove unused MMC_BLOCK_MAJOR")
> the
> define for MMC_BLOCK_MAJOR was dropped. In a way this commit is still
> correct, but unfortunately it also introduced a dependency to a commit for
> the Linux kernel (83fc5dd57f86 mmc: fix compilation of user API), which
> fixes the mmc uapi header file (mmc: fix compilation of user API).
> 
> Rather than relying on the commit in the kernel, let's include the missing
> header for MMC_BLOCK_MAJOR.
> 
> Reported-by: Ming Liu <liu.ming50@xxxxxxxxx>
> Fixes: 118dc4a0909f ("mmc-utils: Remove unused MMC_BLOCK_MAJOR")
> Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx>
Reviewed-by: Avri Altman <avri.altman@xxxxxxx>




[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux