]> Git Repo - linux.git/commit
firewire: core: clarify generate_config_rom usage
authorStefan Richter <[email protected]>
Wed, 7 Oct 2009 22:42:27 +0000 (00:42 +0200)
committerStefan Richter <[email protected]>
Wed, 14 Oct 2009 21:10:48 +0000 (23:10 +0200)
commitfe242579e9f33150868f1bb79c7e262ad7953f17
tree6b6ca473ed6e506372f0c0e7d97faac02bc1f88c
parent8e85973efc87dfae8508f1a3440fd44612897458
firewire: core: clarify generate_config_rom usage

Move the static config ROM buffer into the scope of the two callers of
generate_config_rom().  That way the ROM length can be passed over as
return value rather than through a pointer argument.

It also becomes more obvious that accesses to the config ROM buffer have
to be serialized and how this is accomplished.  And firewire-core.ko
shrinks a bit as well.

Signed-off-by: Stefan Richter <[email protected]>
drivers/firewire/core-card.c
This page took 0.055179 seconds and 4 git commands to generate.