Linux781 wrote: > Hi, > > I need to generate random numbers within a particular range (31 to > 1023) inside an device driver (LKM). Any suggestions on how to go > about it? Take a look at get_random_bytes() in linux/random.h -- William J Beksi <wjbeksi@xxxxxxxxxxxxxxxxxxxxx> GPG Key Fingerprint = ED4B 32C3 69E6 C2B7 705C 263F CB2F 3253 E7E1 DB3B -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/