commit | a04ee14636fa339c4609766bd6173629d4f9026e | [log] [tgz] |
---|---|---|
author | Jan Engelhardt <jengelh@gmx.de> | Sun Jun 25 05:47:36 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Sun Jun 25 10:01:05 2006 -0700 |
tree | 2a0e960d35f9cc586d128578adbf4a11aac45e40 | |
parent | 515decdccf81cfbf5273d7f0085aea954ecd26c4 [diff] |
[PATCH] openpromfs: factorize out "Move" "common code" out to PTR_NOD, which does the conversion from private pointer to node number. This is to reduce potential casting/conversion errors due to redundancy. (The naming PTR_NOD follows PTR_ERR, turning a pointer into xyz.) [akpm@osdl.org: cleanups] Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Cc: "David S. Miller" <davem@davemloft.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>