Message ID | 20240410-smatch-v1-0-785d009a852b@chromium.org (mailing list archive) |
---|---|
Headers | show
Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (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 095A818410B for <linux-media@vger.kernel.org>; Wed, 10 Apr 2024 21:54:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712786088; cv=none; b=e82wK3+bbNB+BAIQuUCPLFah29OiMVxaH2ljYYex1b/2IC3HQ6EuVeVPLS+FnJJv7CvLIsj/4ef3ZNKhs0WWT86vC4wrG4FUzsVsSyYQKifAoOT8+dOty84gljxfdYYnL60DURP2rQv31ngYHm4iA3tZxlbkyql0XSdhnXAL6wg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712786088; c=relaxed/simple; bh=WldA2f8yQgpM9J9A4jWFEWDnZYMzmdVHZlFTwD9iGQg=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=F+csOBbO1EGI5cnB/oy/sLD+nD3UaJJLh6MFhUTvD2zjuBwNmkirsu/01hTnsM2bOQ5vw/KqFp1N0/1M5n0591tBbkY+EAa8S2riJedTuOBaCugmMHYY1Ck+NHbpK5/ehcywjqlzvsZmAYTfnBOEGKKVyK22C5DZSBsBclQQDnk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=aen7zdVJ; arc=none smtp.client-ip=209.85.160.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="aen7zdVJ" Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-434b7ab085fso2572341cf.1 for <linux-media@vger.kernel.org>; Wed, 10 Apr 2024 14:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1712786085; x=1713390885; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=y3iVdnB3oOZVaLmlPJQQH4pJkIi59EqpEToJXgPOjZk=; b=aen7zdVJoPcth+yR3iZbRA3aeUzn6QMzUTkwZmMnpCU0DE2PDMDfYKl9xEWCurOSLz uFnxcj5/o9/ko8TxWNai9E8XzDo2SOPJFX3cNvmVsm1lZodJMCbDMHt6oVwwTtlTz+Cb 27OUcBzYTRNssyjcRmp2oHMGPgxekbpH/2TwA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712786085; x=1713390885; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=y3iVdnB3oOZVaLmlPJQQH4pJkIi59EqpEToJXgPOjZk=; b=DSWnzt0bC7v3DKkTJhNGZSk41RYlW0kRJVyQ77m9c8YeFnemwJQOPE6fVOqlbBx7Z3 SIcSN31aJUKJxLHfmE3uR070eq0Bi8MnXqv/mA28qb5TgXwhOtExLFLnsyXsAZoLFBom QB/MX6kVdEPf2YsrhxY5HMbSBJ1w+M8GWnc87fun8e/+L6UzHNUKek0BJhyFO2JK3ikY ekq/2+rZhTiVy2Eoihsp7StFFULbuVGh7zViPm8EzKcAvLqFmEG0OrvwkPdRgoHteCqo bbfDHn4xxJXtLQ9gc8voB9FNd2pugw/nszwlfoFWzyVzt/KUJyOpZePBHdtr5JzuY2WZ NF1g== X-Forwarded-Encrypted: i=1; AJvYcCVa0Co39q6vYxmF1GlKviBgyfcG/KvtybFqE57/64HFwmCfdmzxWoNyZCZa1rkhEFEEascbnZCDzC6rwsug3N7J6OgDJuPNK9IyRx0= X-Gm-Message-State: AOJu0YzxWwX9fXpGluyPYCzFHindi/cwJMu3/RFI/iQsgrMv/9erxnDZ a14dD12z3mRfXIjecaGPq5TxbmF1D5xeptoarW+sxhA5fs7o7LixaQhB6Gycttr3JakQWKKhwiA Rnw== X-Google-Smtp-Source: AGHT+IHkSCffIeV82iMuXSt95ORnuqOTMlmc0+iEbX7VC4BJBiSpoPCGCGpB1vyUQoatGxAicJXG/w== X-Received: by 2002:ac8:5355:0:b0:436:5142:e031 with SMTP id d21-20020ac85355000000b004365142e031mr1511793qto.13.1712786085624; Wed, 10 Apr 2024 14:54:45 -0700 (PDT) Received: from denia.c.googlers.com (188.173.86.34.bc.googleusercontent.com. [34.86.173.188]) by smtp.gmail.com with ESMTPSA id kg26-20020a05622a761a00b00434c1eedb0esm67330qtb.36.2024.04.10.14.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 14:54:45 -0700 (PDT) From: Ricardo Ribalda <ribalda@chromium.org> Subject: [PATCH 0/6] media: Fix warnings for smatch and sparse Date: Wed, 10 Apr 2024 21:54:37 +0000 Message-Id: <20240410-smatch-v1-0-785d009a852b@chromium.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: <linux-media.vger.kernel.org> List-Subscribe: <mailto:linux-media+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-media+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAJ0KF2YC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDIxMDE0MD3eLcxJLkDF2LNCNj0xRTA3NT4xQloOKCotS0zAqwQdGxtbUA6YD lvFgAAAA= To: Mauro Carvalho Chehab <mchehab@kernel.org>, Yasunari Takiguchi <Yasunari.Takiguchi@sony.com>, Jean-Christophe Trotin <jean-christophe.trotin@foss.st.com>, Lars-Peter Clausen <lars@metafoo.de>, Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, Ricardo Ribalda <ribalda@chromium.org> X-Mailer: b4 0.12.4 |
Series |
media: Fix warnings for smatch and sparse
|
expand
|
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org> --- Ricardo Ribalda (6): media: usb: siano: Fix allocation of urbs media: cxd2880: Replaze kmalloc with kzalloc media: platform: sti: hva: clk_unprepare unconditionally media: v4l2-ctrls-core.c: Do not use iterator outside loop media: adv7180: Only request valids IRQs media: touchscreen: sur40: convert le16 to cpu before use drivers/input/touchscreen/sur40.c | 2 +- drivers/media/i2c/adv7180.c | 2 +- drivers/media/platform/st/sti/hva/hva-hw.c | 3 +-- drivers/media/spi/cxd2880-spi.c | 2 +- drivers/media/usb/siano/smsusb.c | 28 +++++++++++++++++-------- drivers/media/v4l2-core/v4l2-ctrls-api.c | 33 +++++++++++++++++------------- 6 files changed, 43 insertions(+), 27 deletions(-) --- base-commit: 34d7bf1c8e59f5fbf438ee32c96389ebe41ca2e8 change-id: 20240410-smatch-8f235d50753d Best regards,