Your code
/* Registering device */
result = register_chrdev(0, "bond", &bond_fops);
registers the device with major number 0.Is that possible ?
On Sun, Sep 26, 2010 at 10:16 AM, Bond <jamesbond.2k.g@xxxxxxxxx> wrote:
On Sun, Sep 26, 2010 at 3:43 AM, Venkatram Tummala <venkatram867@xxxxxxxxx> wrote:
This will print the the last character of the string you wrote.If you would have read the thread from my first post printing the last character is not my objective I am trying to print the complete string.
As a side note, please spare us all with all this non-sense. We have better things to do in our life. Please try your level best to understand things before asking the kernel mailing list. If this BS continues, i am afraid you will get yourself kicked out of the mailing list. Please do yourself a favour by not posting such crap.
Venkatram Tummala
Please read the thread before giving a lecture on kernel newbies.