From: David Sterba Date: Tue, 24 Feb 2015 18:40:41 +0000 (+0100) Subject: btrfs: switch helper macros to static inlines in sysfs.h X-Git-Tag: omap-for-v4.2/o2_dc~33^2~59^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=093adbcedf123f366e5eef0c4ccd815920f725f3;p=pandora-kernel.git btrfs: switch helper macros to static inlines in sysfs.h The conversion macros use nested container_of that leads to a warning fs/btrfs/sysfs.c: In function 'btrfs_feature_visible': fs/btrfs/sysfs.c:183:8: warning: declaration of '__mptr' shadows a previous local fs/btrfs/sysfs.c:183:8: warning: shadowed declaration is here Use of functions will add proper type checking. Signed-off-by: David Sterba --- Reading git-diff-tree failed