Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934105AbbHDNHE (ORCPT ); Tue, 4 Aug 2015 09:07:04 -0400 Received: from mail-pd0-f180.google.com ([209.85.192.180]:35939 "EHLO mail-pd0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933187AbbHDNHB (ORCPT ); Tue, 4 Aug 2015 09:07:01 -0400 From: Shraddha Barke To: linux-kernel@vger.kernel.org, Julia Lawall , Joe Perches , Jiayi Ye , Greg Kroah-Hartman , Andreas Dilger , Oleg Drokin , devel@driverdev.osuosl.org, HPDD-discuss@ml01.01.org Cc: Shraddha Barke Subject: [PATCH v2 2/3] Staging: lustre: Replace comma between expression statements by a semicolon. Date: Tue, 4 Aug 2015 18:36:12 +0530 Message-Id: <1438693573-5310-2-git-send-email-shraddha.6596@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1438693573-5310-1-git-send-email-shraddha.6596@gmail.com> References: <1438693573-5310-1-git-send-email-shraddha.6596@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1145 Lines: 38 Replace comma between expression statements by a semicolon. The semantic patch used is as follows: @@ expression e1,e2; @@ e1 - , + ; e2; --- Changes in v2: -Make subject more clearer. drivers/staging/lustre/lustre/mgc/mgc_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/lustre/lustre/mgc/mgc_request.c b/drivers/staging/lustre/lustre/mgc/mgc_request.c index 562bd95..019ee2f 100644 --- a/drivers/staging/lustre/lustre/mgc/mgc_request.c +++ b/drivers/staging/lustre/lustre/mgc/mgc_request.c @@ -1232,7 +1232,7 @@ static int mgc_apply_recover_logs(struct obd_device *mgc, pos += sprintf(obdname + pos, "-%s%04x", is_ost ? "OST" : "MDT", entry->mne_index); - cname = is_ost ? "osc" : "mdc", + cname = is_ost ? "osc" : "mdc"; pos += sprintf(obdname + pos, "-%s-%s", cname, inst); lustre_cfg_bufs_reset(&bufs, obdname); -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/