lkml.org 
[lkml]   [2009]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 05/56] block: Remove void casts
On Wed, Apr 08, 2009 at 01:31:43PM +0200, Bert Wesarg wrote:
> If typeof(c) == CommandList_struct*, that you could replace
> sizeof(CommandList_struct) with sizeof(*c) to make the expression
> shorter and fit into one line.

This is not commonly accepted as a good thing. In particular, I would
seriously ask you to avoid doing anything of that kind around fs/*


\
 
 \ /
  Last update: 2009-04-09 23:11    [W:2.520 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site