Re: Large block device patch, part 1 of 9

From: Benjamin LaHaise (bcrl@redhat.com)
Date: Tue Sep 03 2002 - 14:50:45 EST


On Tue, Sep 03, 2002 at 09:42:56PM +0200, Daniel Phillips wrote:
> and I expect it will be this time too. It's just a printk! Who cares if it
> wastes a few bytes. It's even conceivable that if we use this idiom heavily
> enough, some gcc boffin will take the time to optimize away the useless
> conversions.

The issue of casting was never successfully treated by any of the approaches
that were presented, except by Neil's llsect() function. It's shorter than
(long long)sect and has type safety, so let's just use it.

                -ben

-- 
"You will be reincarnated as a toad; and you will be much happier."
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 07 2002 - 22:00:18 EST