Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1343170lqb; Thu, 30 May 2024 07:38:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUvNrMbxKDUJPlBFDq3bGWnqrn8+1Ra0YWxf9F2OhSPLaN4E8KHtv0Q5ZzDLY7TdPuORnzsOT6ImC2WLyyxpnvSpRni0mQb7by5jXD4/Q== X-Google-Smtp-Source: AGHT+IFtC1hTaKEegymXZbnvEp0Jvs8EyGJeyqVENdhtbt8TIuFteL22ZFWnBUVl1InCRI28AEat X-Received: by 2002:a17:907:119d:b0:a5c:dc7e:bc3f with SMTP id a640c23a62f3a-a65e8f6f407mr159750466b.43.1717079902117; Thu, 30 May 2024 07:38:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717079902; cv=pass; d=google.com; s=arc-20160816; b=af5eq7Ct/zP+iBaj11w2xxwvd4S5st98OMfRTNOQZRJER2wPp87KYf3LXZlzjsoDqB Uln6Tcw6pBZuF5coM9wFOENWU76zqhhXDQm3RIBqBftGB0uU/VSSwoBmfP8CCzNXrezu pa+epVR+RbBDgHPDs9zWWOk01mOAiLLkZcS70/CZFHGR+dfI2of6CORthVu007dBxS65 +B6RJeE2v6W5YYtdjjcER6kSuafgA05oWBuj9/oglYefLnpOgvMU+DhlggvGijEzmKG4 usQy+l3RJ9f1ob9NGvevMMshbuVzr/goFqK4OEdSvXHFjZ3gUKn/tjBfk3IRPtSJgKe5 35og== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=PD0IGxS/8sLhbcnySr3czFy/6iRe3WXiZb85Mbd5UbU=; fh=hZBRLYgo3/wGxuXSh0hX79PGlfq0b+ZyosPlhFyaVTo=; b=INDqxsGttJyfbW3Ti/2ruYUe9I/9UP1e5er9C05bwLj1ShlSYOXlmXPCmzWzFTzE/E sDxkx5pFxCuQHGUMMbMhEsfNz5eP1vv02mieIezehUwqeRuOi1HOHWi9fGsoFqAoequg 71+ooOxexaHP48Ls6Wo0i5NO26geUz2+NrZw/TlZ1GZ4IIGpHsymg3urozlncl2e7OdX ud9n8GzxLwM9LlbKvildWfUfb1hraPxTdNwSwJtWXECFCd3z4bv3zoAh+3XAYUOHYzMc WXDDN+vqmQhtxPnxb0LpKunnVBX0HEv0XVqdO7d9Kl+nnZFb4Q8ahsGUAIzJlt2S1IJt lWgw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e0bNy4Pp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195532-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195532-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a659c86dee9si157388066b.694.2024.05.30.07.38.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 May 2024 07:38:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-195532-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=e0bNy4Pp; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-195532-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-195532-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D1F0F1F220FA for ; Thu, 30 May 2024 14:38:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D7D117D8BC; Thu, 30 May 2024 14:37:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="e0bNy4Pp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FF7A186E57; Thu, 30 May 2024 14:37:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717079866; cv=none; b=NXBvM0O4pm0gHNNyj9NVCagngWSZ/MMMhJfqb3uhO1CNWCsB/k/wv0c/yO0HxRBaEQ77kf/cV7hZhj9b6rpv06KMT9mzhTfHWh+k5THFwmZK/cMWLHU/B/0NEU9DpoeapLmRpTYopOW9zRYUEt87YJ3Yu5QKOgXvnMeqTfrgfxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717079866; c=relaxed/simple; bh=PrMYYh8kMW3pruikOzrJKUfG0y7L/m4AXDzs8y5gFXM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:Message-ID: MIME-Version:Content-Type; b=dU/Ta8KTRJTZN9gNXRobLGPnve65ZZxxGaPFHC7Aws4ghaih2uwvSRhV3sv885Dqb2KtZBPGlTd32zV+IvBjkzpG3R5VgvDyB+MNOjBPc+6JRiKC14+nrAfiQeSk+8l4pdOdDA8sT17aU+sAVulVFmmfbwDIdXay2yZUwpgWJm0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=e0bNy4Pp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6BEA9C32781; Thu, 30 May 2024 14:37:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717079865; bh=PrMYYh8kMW3pruikOzrJKUfG0y7L/m4AXDzs8y5gFXM=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=e0bNy4PpJtTgSF9gJUlNkBgM+IPi5zO/WvJd2wycEQrbq5uQnEnfQ/kNtqQmmj9Ux uqAPiXXMEjvKmzL2faeDkUjO7ZqyHEgtyosglYwbE2ZNdcN+EAkA3QG4uki1DHMPi4 rILg68tyrzYfs8tWig6GHILB0XxehAGqLYZ57rfQTqeyW4vNp47H5WRgK5xFXD9S4Z ecuxbsu3wcJ8cFPlBdo8EQXLy2t4oEsBk21xasonEHd+xHFM5nPgySSLRD5BIoXwnF YK+iybUsD7etZDv8OuSdZPnsdJTM2ZnJzGVIPyKJraH/sFgMl1i9kkZYoYmojtQCtl 8jZBSroR2cdUg== From: Kalle Valo To: "Nemanov, Michael" Cc: Krzysztof Kozlowski , Johannes Berg , Breno Leitao , Justin Stitt , Kees Cook , , , Sabeeh Khan Subject: Re: [PATCH 08/17] Add main.c References: <20240521171841.884576-1-michael.nemanov@ti.com> <20240521171841.884576-9-michael.nemanov@ti.com> <456c8076-1e3a-4cc9-895c-e707e68fe610@ti.com> Date: Thu, 30 May 2024 17:37:41 +0300 In-Reply-To: <456c8076-1e3a-4cc9-895c-e707e68fe610@ti.com> (Michael Nemanov's message of "Thu, 30 May 2024 14:54:26 +0300") Message-ID: <87bk4nwekq.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain "Nemanov, Michael" writes: > On 5/22/2024 12:46 PM, Krzysztof Kozlowski wrote: >> ... > +} > + > +static int read_version_info(struct cc33xx *cc) > +{ >> > + int ret; > + > + cc33xx_info("Wireless driver version %s", >> DRV_VERSION); Drop > + > + ret = >> cc33xx_acx_init_get_fw_versions(cc); > + if (ret < 0) { > + >> cc33xx_error("Get FW version FAILED!"); > + return ret; > + } > + > >> + cc33xx_info("Wireless firmware version %u.%u.%u.%u", > + >> cc->all_versions.fw_ver->major_version, > + >> cc->all_versions.fw_ver->minor_version, > + >> cc->all_versions.fw_ver->api_version, > + >> cc->all_versions.fw_ver->build_version); > + > + >> cc33xx_info("Wireless PHY version %u.%u.%u.%u.%u.%u", > + >> cc->all_versions.fw_ver->phy_version[5], > + >> cc->all_versions.fw_ver->phy_version[4], > + >> cc->all_versions.fw_ver->phy_version[3], > + >> cc->all_versions.fw_ver->phy_version[2], > + >> cc->all_versions.fw_ver->phy_version[1], > + >> cc->all_versions.fw_ver->phy_version[0]); > + > + >> cc->all_versions.driver_ver = DRV_VERSION; Drop > > You mean drop the trace? Will exposing FW/PHY versions via debugfs be > OK? I'm guessing the comment was about DRV_VERSION. We don't use any version strings for drivers as they are useless. BTW please check your quoting style, it is hard to read your replies. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches