"Vasiliy Titskiy" <[EMAIL PROTECTED]> writes: > These patches fix 2 bugs in TI Previewer driver. > > First patch makes all declarations of C-structures in file davinci_previewer.h > independent of used compiler options. Old (non-patched) version has different > aligment requirements for some structures in user-mode and kernel-mode. As > result, some (not all) records of that structures has different offset in > user- > and kernel- modes. > > Second patch fixes incorrect access to user-mode memory in ioctl() function. > Old version crashed our system very fast on high load.
Vasiliy, First, thanks for contributing your fixes to the list. In the future, please be sure to specify which kernel these patches apply to. Patches to this list are generally for the DaVinci git kernel. If they are not against git, but still may be of use to others (like your patches are), please be sure to say that in the description. Second, your patches are not usable in the form they have been sent. They were not properly generated, and your mailer seems to have also done line wrapping which makes them not usable for others. The file Documentation/SubmittingPatches in the linux kernel sources gives good guidance on how to submit patches. Thanks, Kevin _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
