Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1655062

[PATCH] gpio: mockup: use devm_kcalloc() where applicable

From Bartosz Golaszewski <brgl@bgdev.pl>
Newsgroups linux.kernel
Subject [PATCH] gpio: mockup: use devm_kcalloc() where applicable
Date 2017-06-01 13:50 +0200
Message-ID <tNwM1-21A-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This is a follow up to [1]. The patch proposes to use devm_kcalloc()
when allocating arrays of elements.

Bartosz Golaszewski (1):
  gpio: mockup: use devm_kcalloc() where applicable

 drivers/gpio/gpio-mockup.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

-- 
2.9.3

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] gpio: mockup: use devm_kcalloc() where applicable Bartosz Golaszewski <brgl@bgdev.pl> - 2017-06-01 13:50 +0200
  [PATCH] gpio: mockup: use devm_kcalloc() where applicable Bartosz Golaszewski <brgl@bgdev.pl> - 2017-06-01 13:50 +0200

csiph-web