Re: [PATCH][1/2] [RESEND] kobject: add HOTPLUG_ENV_VAR

From: Roland Dreier
Date: Mon Sep 27 2004 - 17:11:46 EST


Paul> Would a procedure (not inlined) save text space here,
Paul> provide better type checking, and be easier to read?

The problem is that the straightforward way to implement this helper
modifies three of its parameters (the current buffer location, the
amount of space left, and the current index). It seemed ugly to force
these three parameters to be passed by address.

I could easily rework this to do as you suggest though. Greg, what's
your opinion?

Thanks,
Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/