Project

General

Profile

Bug #1133

one offsetof to rule them all

Added by Rich Lowe almost 9 years ago. Updated about 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
kernel
Start date:
2012-07-08
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

In our source tree there are perhaps hundreds of definitions of the normal offsetof() under a variety of pseudonyms, a subset of them not actually correct (their incorrectness varies, most are probably harmless.)

There should be exactly one, implemented correctly.

(the "one offsetof to find them all" is perhap the hard part).


Subtasks

Bug #2976: remove useless offsetof() macrosClosedRich Lowe

Actions

Also available in: Atom PDF