[PATCH] staging: ath6kl: Including a header file to fix a compilation error

Greg KH greg at kroah.com
Fri Sep 17 23:26:43 UTC 2010

On Fri, Sep 17, 2010 at 04:11:57PM -0700, Vipin Mehta wrote:
> > Hi,
> > Thanks for the patch, but I still get these errors & warnings:
> > 
> > on linux-next 2010-0915:
> > 
> > drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c: In function
> > 'SetupHIFScatterSupport':
> > drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c:288: error:
> > 'struct mmc_host' has no member named 'max_hw_segs'
> > drivers/staging/ath6kl/hif/sdio/linux_sdio/src/hif_scatter.c:289: error:
> > 'struct mmc_host' has no member named 'max_hw_segs'
> > 
> This is because of a recent change in the mmc_host structure that removes the distinction between hw and phys segments. The structure is different in the staging-next-2.6 tree which is where I usually build and test the changes. 

Please, fix your email client to wrap lines at a sane place...

> Greg, 
> The two trees linux-next and staging-next are not in sync so what is
> the process that is usually followed under these circumstances? I see
> little point in using the staging-next-2.6 tree to generate and test
> my patches since the tree eventually drains into linux-next. Should I
> stop worrying about if the patch works for the staging-next tree and
> just focus on that things should work with linux-next?

If the problem is due to another change in a different tree, send me the
patch and I'll hold on to it until the mmc tree is merged with Linus
(during the .37 merge window) and then I'll apply it and push it out.

Until then, we can ask Stephen to hold the patch in linux-next to fix
the build issue.

But I'd still like the .h file fixup patch to be resolved and in my tree
first, right?


greg k-h

More information about the devel mailing list