From patchwork Tue Mar 15 22:22:10 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tony Nguyen X-Patchwork-Id: 12781908 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 543BEC433F5 for ; Tue, 15 Mar 2022 22:22:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352192AbiCOWXS (ORCPT ); Tue, 15 Mar 2022 18:23:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235668AbiCOWXM (ORCPT ); Tue, 15 Mar 2022 18:23:12 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D8095C65D for ; Tue, 15 Mar 2022 15:22:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1647382920; x=1678918920; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=gHukA6XcoaZlufRwnfq9dW5WXDMbH0chsfQm04aK+UM=; b=LjIjeqmU3T7A66qiT6yWW33IJnevhTY56xD2lVI9Am46HC5d2C0qvw2l s9seAjqsfE2xV/HH5laczY5QhxF2sQPptVDDdr7Kim0H62g5Cod85MNC8 EQhzCC2zysS+e59iYFjv/5gFfY8suE9l4Q3uaUPDUuDq6qm/UqaceUWXR YI4CYYIijt4c4i7Jvg2hJhwBJGNUDz1iVXUH9EYcHn2vn/nQRuyup2RDC B9BzA7WOFd3xBqH09MMiEPPzqZZOQvHvl+QBf97Ing8zjQLnOW9PVEbPP 7FLJABG/onQD+GJSMTDY+rB1MlqGhXwF24f+zfm6no0WPEW6qoqWvI0E5 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10286"; a="255264549" X-IronPort-AV: E=Sophos;i="5.90,184,1643702400"; d="scan'208";a="255264549" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Mar 2022 15:21:59 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,184,1643702400"; d="scan'208";a="690362214" Received: from anguy11-desk2.jf.intel.com ([10.166.244.147]) by fmsmga001.fm.intel.com with ESMTP; 15 Mar 2022 15:21:58 -0700 From: Tony Nguyen To: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com Cc: Jacob Keller , netdev@vger.kernel.org, anthony.l.nguyen@intel.com, Konrad Jankowski Subject: [PATCH net-next 04/14] ice: fix a long line warning in ice_reset_vf Date: Tue, 15 Mar 2022 15:22:10 -0700 Message-Id: <20220315222220.2925324-5-anthony.l.nguyen@intel.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20220315222220.2925324-1-anthony.l.nguyen@intel.com> References: <20220315222220.2925324-1-anthony.l.nguyen@intel.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org From: Jacob Keller We're about to move ice_reset_vf out of ice_sriov.c and into ice_vf_lib.c One of the dev_err statements has a checkpatch.pl violation due to putting the vf->vf_id on the same line as the dev_err. Fix this style issue first before moving the code. Signed-off-by: Jacob Keller Tested-by: Konrad Jankowski Signed-off-by: Tony Nguyen --- drivers/net/ethernet/intel/ice/ice_sriov.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/ice/ice_sriov.c b/drivers/net/ethernet/intel/ice/ice_sriov.c index be6ec42f97c1..b2376e3b746e 100644 --- a/drivers/net/ethernet/intel/ice/ice_sriov.c +++ b/drivers/net/ethernet/intel/ice/ice_sriov.c @@ -1251,7 +1251,8 @@ bool ice_reset_vf(struct ice_vf *vf, bool is_vflr) ice_vf_pre_vsi_rebuild(vf); if (vf->vf_ops->vsi_rebuild(vf)) { - dev_err(dev, "Failed to release and setup the VF%u's VSI\n", vf->vf_id); + dev_err(dev, "Failed to release and setup the VF%u's VSI\n", + vf->vf_id); return false; }