Re: [PATCH] Fix compilation of drivers with -O0

2007-02-23 Thread Michal Schmidt
[that still wasn't right, here's for the 3rd and final time.] It is sometimes useful to compile individual drivers with optimization disabled for easier debugging. Currently drivers which use htonl() and similar functions don't compile with -O0. This patch fixes it. It also removes obsolete and m

Re: [PATCH] Fix compilation of drivers with -O0

2007-02-23 Thread Michal Schmidt
[Sorry, the patch was corrupted by the mailer. Hopefully it's ok this time.] It is sometimes useful to compile individual drivers with optimization disabled for easier debugging. Currently drivers which use htonl() and similar functions don't compile with -O0. This patch fixes it. It also removes

[PATCH] Fix compilation of drivers with -O0

2007-02-23 Thread Michal Schmidt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 It is sometimes useful to compile individual drivers with optimization disabled for easier debugging. Currently drivers which use htonl() and similar functions don't compile with -O0. This patch fixes it. It also removes obsolete and misleading comment