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

 



On Wed, Mar 27, 2013 at 03:26:46PM -0400, Brian Haley wrote:
 
 >  /* would use this, but the header uses DECLARE_BITMAP() from the kernel */
 >  /* #include <sound/emu10k1.h> */
 > @@ -205,6 +207,7 @@ static const struct ioctl sound_ioctls[] = {
 >  	{ .name = "SNDRV_EMU10K1_IOCTL_SINGLE_STEP", .request =
 > _IOC(_IOC_NONE,'H',0x83,0), },
 >  	{ .name = "SNDRV_EMU10K1_IOCTL_DBG_READ", .request =
 > _IOC(_IOC_NONE,'H',0x84,0), },

Word-wrapped.


 > diff --git a/syscalls/inotify_add_watch.c b/syscalls/inotify_add_watch.c
 > index 9c69fc7..35fb593 100644
 > --- a/syscalls/inotify_add_watch.c
 > +++ b/syscalls/inotify_add_watch.c
 > @@ -34,7 +34,9 @@ struct syscall syscall_inotify_add_watch = {
 >  			IN_IGNORED,
 >  			IN_ONLYDIR,
 >  			IN_DONT_FOLLOW,
 > +#ifdef IN_EXCL_UNLINK
 >  			IN_EXCL_UNLINK,
 > +#endif
 >  			IN_MASK_ADD,
 >  			IN_ISDIR,
 >  			IN_ONESHOT,

You can't do this, because the .num will be incorrect.
Add a dummy define to compat.h for it instead.

	Dave

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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

  Powered by Linux