Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752568AbdCEROH (ORCPT ); Sun, 5 Mar 2017 12:14:07 -0500 Received: from mail-pg0-f66.google.com ([74.125.83.66]:36737 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752442AbdCEROG (ORCPT ); Sun, 5 Mar 2017 12:14:06 -0500 From: simran singhal To: oleg.drokin@intel.com Cc: andreas.dilger@intel.com, jsimmons@infradead.org, gregkh@linuxfoundation.org, lustre-devel@lists.lustre.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, outreachy-kernel@googlegroups.com Subject: [PATCH 0/5] Use list_for_each_entry_safe Date: Sun, 5 Mar 2017 22:36:45 +0530 Message-Id: <1488733610-22289-1-git-send-email-singhalsimran0@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 775 Lines: 19 This patch-series replaces the while loop containing list_empty and list_entry with list_for_each_entry_safe. simran singhal (5): staging: lustre: Use list_for_each_entry_safe staging: lustre: ptlrpc: Use list_for_each_entry_safe staging: lustre: osc: Use list_for_each_entry_safe staging: lustre: llite: Use list_for_each_entry_safe staging: lustre: osc_page.c: Use list_for_each_entry_safe drivers/staging/lustre/lustre/llite/statahead.c | 5 ++--- drivers/staging/lustre/lustre/osc/osc_cache.c | 5 ++--- drivers/staging/lustre/lustre/osc/osc_page.c | 11 ++++------- drivers/staging/lustre/lustre/ptlrpc/sec_gc.c | 5 ++--- drivers/staging/lustre/lustre/ptlrpc/service.c | 5 ++--- 5 files changed, 12 insertions(+), 19 deletions(-) -- 2.7.4