Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp758360pxb; Tue, 5 Apr 2022 22:03:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDDV4vP6GgVqC3oNVq2Gd69UFXjJcvml2SKs1u/rPifz325KXcTrK62OoY66fGy2NPAjXI X-Received: by 2002:a17:90b:1e04:b0:1ca:bc37:d132 with SMTP id pg4-20020a17090b1e0400b001cabc37d132mr7981237pjb.84.1649221397711; Tue, 05 Apr 2022 22:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649221397; cv=none; d=google.com; s=arc-20160816; b=wmCZ4Q5FAtykY6vmtwdspwL0GhUaJff9hhzfIOht7lpOXdOfB4DzLHQXVBW4VBplsj avrbL5EEKrnXpngJQCcb1Tw6wAVRB6NnE0m5LpikLuEHXuU7CUGlKl4caZIwOCHsKD+K zTNJHjCgi5rok53nJ6nvP0PZdkdE41KPmg6edbSaPEopNTgWqZSzNZBbcyy5XE62imyA ZA0npvTnzFcUk1gFw8/9l5y+eLmQtFsGoR8pQojYUEDiL3fIn2UIzsY+RdNMSRzscm0G aU0EtE5b/vxHiqlG0sM2Nar/IWou0xIldfzrTYIXZ3Ank+QJ3cViEij0RKjDa7xwkoL/ ECNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=3YYqhNuzReXErQkpuQT33ureNH0+l+SEJLqmSScCir8=; b=fRGoaqqvH/FAIAoqz6j8DLeP0B8hYo3xLO9vs8Dvx7f+CVLeaSVGC7pBQ4z+xOR0ug 0A4fppkwxayo2i4jpSQYsW3S3EaHNKcM/otL6qHn5ZaAAjQcVYmFaTFsEqd8u5Tf76vK 3uatYSAzW4xR4ia14qhyPIzxzWeK3WyhZF/Ov2AxQguZEQhXNjEI823tDzCYuDScC/rE twBzCCAtqCHQgsYBDh6lj1J1fSJEom+V8cBEn4rMGEVFME62zoA5ctinrmoYCgWdBPcO UT9JTS3yzTKJgG0CAY0WivPSLY9nDxkzcj1tWBNCokGJ/Viw8evCozP5zncgPAPRIQPM utew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oFVLaoE1; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id me2-20020a17090b17c200b001bd3fc48d31si4223002pjb.43.2022.04.05.22.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 22:03:17 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=oFVLaoE1; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 5E910103B9C; Tue, 5 Apr 2022 20:22:41 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1386261AbiDEPQA (ORCPT + 99 others); Tue, 5 Apr 2022 11:16:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346701AbiDEJpV (ORCPT ); Tue, 5 Apr 2022 05:45:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BEBD8316; Tue, 5 Apr 2022 02:31:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5C970616C1; Tue, 5 Apr 2022 09:31:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67247C385A0; Tue, 5 Apr 2022 09:31:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649151083; bh=zTGxfhkK5wluCdAjhpp4Ym61n6JhTc9Lz1TCOvhc6Ag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=oFVLaoE1KfX/sWJwJDFtaBr4aCAJIZRMlkZMowBpjqsYuzsHqwSrOl6b/8igfnO6x ILy8tQkJU+O8s0BPVQ6IHfvWgZkj4TI0GE/GHS5WATmnDXHUkL0y/la6ZL/lte5U1O Woyehf6hv6bhp/p7IlctEdw79B4rPYAXV73TNCro= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kernel test robot , Paul Kocialkowski , Sakari Ailus , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.15 286/913] media: ov5648: Dont pack controls struct Date: Tue, 5 Apr 2022 09:22:28 +0200 Message-Id: <20220405070348.431001363@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sakari Ailus [ Upstream commit edd4fbff5378a8103470304809195dc8f4b1d42a ] Don't pack the driver specific struct containing control pointers. This lead to potential alignment issues when working with the pointers. Reported-by: kernel test robot Fixes: e43ccb0a045f ("media: i2c: Add support for the OV5648 image sensor") Reviewed-by: Paul Kocialkowski Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/i2c/ov5648.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/ov5648.c b/drivers/media/i2c/ov5648.c index 947d437ed0ef..78040f0ac02f 100644 --- a/drivers/media/i2c/ov5648.c +++ b/drivers/media/i2c/ov5648.c @@ -639,7 +639,7 @@ struct ov5648_ctrls { struct v4l2_ctrl *pixel_rate; struct v4l2_ctrl_handler handler; -} __packed; +}; struct ov5648_sensor { struct device *dev; -- 2.34.1