aboutsummaryrefslogtreecommitdiff
path: root/net/dsa/dsa2.c
diff options
context:
space:
mode:
authorChen-Yu Tsai2017-02-17 11:13:29 +0800
committerMaxime Ripard2017-03-07 22:15:15 +0100
commit903795d60ffa89918b521064b0cbcba139ae4047 (patch)
tree92f6654f991c8f11dee6588172cff5fd34ae9bef /net/dsa/dsa2.c
parent8a16469b74af0fb584686e5e18d2cf3570424e4b (diff)
drm/sun4i: Save newly created layer in layers array in sun4i_layers_init
sun4i_layers_init allocates an array to store pointers to newly created layers returned by sun4i_layer_init_one(), but fails to actually store them. But it actually returns the empty array to unsuspecting users. Save the pointers in the array, so that they may be used later. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'net/dsa/dsa2.c')
0 files changed, 0 insertions, 0 deletions