public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* do_mmap
@ 2002-05-31 13:00 Thomas 'Dent' Mirlacher
  2002-05-31 14:27 ` do_mmap Alan Cox
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Thomas 'Dent' Mirlacher @ 2002-05-31 13:00 UTC (permalink / raw)
  To: Linux-Kernel ML

hi list,

what about the do_mmap/do_mmap_pgoff implementation?
reurn-type: _unsigned_ long	(which should be ok cause we've to return
				 an adress if len == 0)
on error: -ERR_*

and the checks in various places are really strange. - well some
places check for:
	o != NULL
	o > -1024UL
	o ...

guess this nedds some cleanup.

is it possible to have 0 as a valid address? - if not, this should
be the return on errors.

any comments?

	tm

-- 
in some way i do, and in some way i don't.


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2002-06-03 20:25 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-31 13:00 do_mmap Thomas 'Dent' Mirlacher
2002-05-31 14:27 ` do_mmap Alan Cox
2002-05-31 13:33   ` do_mmap Thomas 'Dent' Mirlacher
2002-05-31 17:30   ` do_mmap Linus Torvalds
2002-05-31 17:46     ` do_mmap Thomas 'Dent' Mirlacher
2002-05-31 17:56       ` do_mmap Linus Torvalds
2002-05-31 18:10       ` do_mmap Richard B. Johnson
2002-05-31 18:21         ` do_mmap Thomas 'Dent' Mirlacher
2002-05-31 18:38           ` do_mmap Richard B. Johnson
2002-05-31 18:59     ` do_mmap Alan Cox
2002-06-01 11:12     ` do_mmap Kai Henningsen
2002-05-31 19:49   ` do_mmap DervishD
2002-05-31 19:46 ` do_mmap DervishD
2002-06-03 12:19 ` do_mmap Pavel Machek
2002-06-03 19:13   ` do_mmap Thomas 'Dent' Mirlacher
2002-06-03 20:11   ` do_mmap Thomas 'Dent' Mirlacher
2002-06-03 20:25     ` do_mmap Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox