RE: [PATCH] mmc: core: check for zero length ioctl data

2011-12-02 Thread Johan RUDHOLM
Hi Chris, Chris Ball wrote: > > On Fri, Dec 02 2011, Johan RUDHOLM wrote: > >> Would you be able to share the userspace code that you've been using > >> with this, please? I'd like to start collecting a repository of > >> userspace code showing common uses of this ioctl. > > > > Yes, I think so.

Re: [PATCH] mmc: core: check for zero length ioctl data

2011-12-02 Thread Chris Ball
Hi Johan, On Fri, Dec 02 2011, Johan RUDHOLM wrote: >> Would you be able to share the userspace code that you've been using >> with this, please? I'd like to start collecting a repository of >> userspace code showing common uses of this ioctl. > > Yes, I think so. How would you prefer to receive

RE: [PATCH] mmc: core: check for zero length ioctl data

2011-12-02 Thread Johan RUDHOLM
Hi Chris, Chris Ball wrote: > > Thanks, looks good to me, pushed to mmc-next for 3.3. Great! > Would you be able to share the userspace code that you've been using > with this, please? I'd like to start collecting a repository of > userspace code showing common uses of this ioctl. Yes, I thin

Re: [PATCH] mmc: core: check for zero length ioctl data

2011-12-01 Thread Chris Ball
Hi Johan, On Wed, Nov 23 2011, Johan Rudholm wrote: > If the read or write buffer size associated with the command sent > through the mmc_blk_ioctl is zero, do not prepare data buffer. > > This enables a ioctl(2) call to for instance send a MMC_SWITCH to set > a byte in the ext_csd. > > Change-Id: