From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 406B9235358 for ; Tue, 10 Mar 2026 19:15:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773170121; cv=none; b=Smf2Rm1FdUOJM8XsTN2WYV7K3dqqn84v189ARWZQlCwDgdEIKESI+stkowat/ov6ptCYUDoq4npTlDKRocccCTHJGkwqxbceZvazHwLeW6KSpoLXEemV6ySRB9zXU1ocAmXy+mbRBswNWmIy53PwB9m33SxgSK2ZCGtkk0IbMIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773170121; c=relaxed/simple; bh=khubhR/tz+wkJW7Jgfi+FWE467NphcnP8NrRFjYmM9k=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=m7Z1xfChktZFfTDSgeptobaZxkBZYu5qypEtvJUItIY+ZBt60VyXU07bLdbpTmYjSfflK/E49Iu5cuBZouqFbBJk7IfUbbrS9xSmiTpPmBLgPNT9kfF3Bi8aQnu9g90968JZkVk67LQTADivPUuzrht+KJePoCmdz96e1BaaaWg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=c9rxWBvU; arc=none smtp.client-ip=209.85.167.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="c9rxWBvU" Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-5a13f6bcbf4so5646475e87.1 for ; Tue, 10 Mar 2026 12:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1773170118; x=1773774918; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=+kBsVHle5VKFIOQ+pdBj/KNHoPC/WhiJ8MytokdJrbQ=; b=c9rxWBvU5Tyj8EykQkSuMtgi8fm9Gd4+p2UfJ82/kV46/rxSxF28z8100UCDQ4Ga67 TVb+8eQHCpWDFwGESE2nohh4ik0Q8xjhNL+bNnDUu6QKEr/8U9182qXxmUtrTnMYdMeA 2x2f1kvexi8wPVTOQZtGZWf0F9hiGkhasFAbrYwWSGIT4yLp6osb1xfTCRNCM/hWI9Sh dVlgBtoN7/xbU1rfkF9FT3haQcFsILlGN3sVUXc4780nYbOTi6L5krZsNuJoC9feSjhd GbygO7L5QIDL3EAzQpcm2Up/n7yk1U6g+JYu4lgq3lZCS2TMjyVGefOeyuV6mIh5V/lT +dMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773170118; x=1773774918; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=+kBsVHle5VKFIOQ+pdBj/KNHoPC/WhiJ8MytokdJrbQ=; b=P4aS+0bSzC3T1Zdo51aOysFHRZ/EK891mSKPzAqzR2usiEDeuMvZSq2rENQJggfk7s 7mFnlK5d7C5E9FSIQ4vrFUtBZljdHzCZP/1ssWc6zR5OU6OxQGZi7Y86tmMDyil5hhwC 7l2k4FCgLs5Th5CXlB0DH/cwY2Md7BRvVfYsQe1ezB6vnc5YlE/eIEwokKX9WANuFExK UnBqm/v08vc8/VTTetBhajP0ClaeIIqk6CgbLmA07+yYvfofPDqzBRoABlR0Vm0SgeH/ cyZyqURpcEoDX/cx25jDq0nyoN4WYFCk2SgQL7c7Z1zyeqkQuV3oLEWdfcuRT2qvKwhH dgGA== X-Forwarded-Encrypted: i=1; AJvYcCX7tywHZ7twLfvJR8ypAXplNe7ORwoSj72w3n9cXPrLMdhHZvNhauZj9+zKSnIwHh4Sb0U06t2Xipl2f4U=@vger.kernel.org X-Gm-Message-State: AOJu0YzdoOr38n9chdB6ZGlKFPAR6u7OS5X4AlvtLXfWDxXgTCSpLx6C hr0bh5M/585gVyId2iuWB36v3u/MsHmfJOLB2BMvaYRVmiQQpYqoestB X-Gm-Gg: ATEYQzyFIlLVz70LNiFTM9xeHzXloQWLo1BMGYbKwqdV5jx1cScZFBacuCShc7PyF19 CUmF5hlgomMWCxHd6LV+H6ES2nxqH7RlDSLM95zXUxb+A6pxqmfoXbxk/RWYzlZLSir86VV1IRe /nK+KdfHDcIRC8WbKf6njqKNoG2bT4U54j0jkIv7i/67a15l5t4t1PsPO7938OTyQ4u84uSAbWq /y+iXXc72JJQo4MvDk7CDdlgROjU6MpOpv//g/7hcxCY4uQC/Tb/diCu/wc7kH5Sbty3uchnSMb /ipINMhd3dfMB04orSyo84uPwCeVC2kE5Ku8rjbe87RlnxK29Ej2wdjlFC7vGqYIAdVNcyKu5s7 0WHQhfknyKlHH0uA1//hQqHMvvs9ETXPrfnRCz4yyi86mG5dRHwYL4K6CaM9iPpnoiNAMUquaPg frmUN/Lh5emZWN2F2tv4zP9PBhRmcIgVobLLS7IB5HLVkRiyQkjkjdKCo/Dy/CRzs1XIG4zCyQn w== X-Received: by 2002:a05:6512:64eb:b0:5a1:3b7d:6959 with SMTP id 2adb3069b0e04-5a13cce1786mr4174877e87.36.1773170118122; Tue, 10 Mar 2026 12:15:18 -0700 (PDT) Received: from T6NXCV08J99224A.lan (81-237-238-191-no600.tbcn.telia.com. [81.237.238.191]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a154269e00sm34271e87.10.2026.03.10.12.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Mar 2026 12:15:17 -0700 (PDT) From: Oskar Ray-Frayssinet To: hansg@kernel.org, mchehab@kernel.org Cc: sakari.ailus@linux.intel.com, andy@kernel.org, gregkh@linuxfoundation.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Oskar Ray-Frayssinet Subject: [PATCH v3] staging: media: atomisp: fix block comment style in circbuf.c Date: Tue, 10 Mar 2026 20:15:02 +0100 Message-ID: <20260310191502.1354-1-rayfraytech@gmail.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260310151620.905-1-rayfraytech@gmail.com> References: <20260310151620.905-1-rayfraytech@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Fix block comment formatting to comply with kernel coding style: - Move text from opening '/*' line to a separate continuation line - Add leading '*' on continuation lines - Move trailing '*/' to a separate line Signed-off-by: Oskar Ray-Frayssinet --- .../media/atomisp/pci/base/circbuf/src/circbuf.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c b/drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c index db0b76ea4a29..51bdfe64491e 100644 --- a/drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c +++ b/drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c @@ -186,7 +186,8 @@ uint32_t ia_css_circbuf_peek_from_start(ia_css_circbuf_t *cb, int offset) return cb->elems[pos].val; } -/* @brief increase size of a circular buffer. +/* + * @brief increase size of a circular buffer. * Use 'CAUTION' before using this function. This was added to * support / fix issue with increasing size for tagger only * Please refer to "ia_css_circbuf.h" for details. @@ -205,7 +206,8 @@ bool ia_css_circbuf_increase_size( curr_size = cb->desc->size; curr_end = cb->desc->end; - /* We assume cb was pre defined as global to allow + /* + * We assume cb was pre defined as global to allow * increase in size */ /* FM: are we sure this cannot cause size to become too big? */ @@ -215,11 +217,13 @@ bool ia_css_circbuf_increase_size( else return false; /* overflow in size */ - /* If elems are passed update them else we assume its been taken + /* + * If elems are passed update them else we assume its been taken * care before calling this function */ if (elems) { - /* cb element array size will not be increased dynamically, + /* + * cb element array size will not be increased dynamically, * but pointers to new elements can be added at the end * of existing pre defined cb element array of * size >= new size if not already added -- 2.43.0