Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1437546pxb; Thu, 4 Nov 2021 02:14:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyvqzkhTUbeo2ftO1akeNX8oFPPcVsRGt/4GrSr7JiE4iS09aM77XN3gZP/JR2UxUZUhzwG X-Received: by 2002:a05:6e02:bc9:: with SMTP id c9mr33655234ilu.309.1636017266540; Thu, 04 Nov 2021 02:14:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1636017266; cv=none; d=google.com; s=arc-20160816; b=nJq0Nh9cuXgqsE5+7uLKxpiXidwb55l6HZ+t/1eZTQo9pTGj//0+jfsogozbszNOn4 G1EiibqUDaWLHvz+CA/W1t1cfngwfncKbntbbMG5sQAj4Faf7yEKNSRwrEqNuPc7r2Uu /Xbo4/ZbDqH6hZf2ReLKTh4Z7Wj/fH4IRTESS5qf23OhiOmjfEyh8MYdDAvZdXJ/LZ6o 37jOhp18q6yVsf1x0esNJuEcCag6+bEwIcHsH1zEO70Wa1pZAPyJxpQkhgzHFXj/M3XW TLA8bO8BGSIFs+7xLOdJSd0INO4stGHL2lsP7+FNjTfB8zkJvuPOQFnqT2H1QXR6nchn N+JA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=VwSciq2dX0/2ZCTgtxnNVSoNv/2aephQkEPPnAPTvsc=; b=zZ0LF7QWpe3J7GKOIgz+VdtXw+aoyResQpd7bz1WojlL7rZAQtX2Aogm6UYXAV9vSp V8jaVLm96DosEUlfOjpX1TuufaIS6TOnrotHzICtrRf4qNYAo8bhp5qrDP+t7NT5CboL n5Wf19RK6ygsxU+ACN0L+6VmCAduaCZnjbRun0AFaZxAomrqmJmhivKztK0Uw3XrHmCA CvUD70i86rOxDiRMeK55G0Q2uaO+/fMWLZyJejHXLdVFJUPrfRbroQF2FI8yJ80XskO5 +ZkZizrtK+HZ7CPwcwvXYygkhb0gZhOtFFkvCoiJM7Z/0moBUQFrD+listaKUkwtpQWd CGOg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w22si6528815ior.71.2021.11.04.02.14.12; Thu, 04 Nov 2021 02:14:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230478AbhKDJPS (ORCPT + 99 others); Thu, 4 Nov 2021 05:15:18 -0400 Received: from mail-ua1-f48.google.com ([209.85.222.48]:43682 "EHLO mail-ua1-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230252AbhKDJPR (ORCPT ); Thu, 4 Nov 2021 05:15:17 -0400 Received: by mail-ua1-f48.google.com with SMTP id v3so9529967uam.10; Thu, 04 Nov 2021 02:12:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VwSciq2dX0/2ZCTgtxnNVSoNv/2aephQkEPPnAPTvsc=; b=lB4bGups8iJWGDK4ghBf1Kx2SoM+yjFMVmeIs5lMctPhFLmm6gIaqBmM71hGZ7b59c hC0xvnDLZ0cmsG4AKEJCus+4IGm/kXCpRfqcXYJfA3V0U5H5H26Gyq98xaYLHH2jIpCN VXRD++thtaI5K1fNp44YJwvMQ1NfmxHYjVagI1opeBFVIIEQkmAK+KTHOpa9dbu2w1fO ZnZWv0+KwMFaCR3ft/R2ZuAj8z310cwkaapFyBMSiGSSgHRRpV0MSxofk9a+y5MoEUEJ oofyLGPWxeBeX5KJSpgMzv+1LnHOfMLBQnfEshJ4dERbUECnQDFMh6MclkavxFrnt2ou KjKA== X-Gm-Message-State: AOAM5315b+dGv3zCyptdk0kP3ifDHRHvC+CsvVfX51uDvOV2sC4Thh2i tIm6szSl/Nh9gNbb5/0whG2efZWaNl9zXw== X-Received: by 2002:a67:2fd0:: with SMTP id v199mr46128793vsv.35.1636017159382; Thu, 04 Nov 2021 02:12:39 -0700 (PDT) Received: from mail-ua1-f50.google.com (mail-ua1-f50.google.com. [209.85.222.50]) by smtp.gmail.com with ESMTPSA id v4sm757393vsq.7.2021.11.04.02.12.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Nov 2021 02:12:38 -0700 (PDT) Received: by mail-ua1-f50.google.com with SMTP id v3so9529827uam.10; Thu, 04 Nov 2021 02:12:38 -0700 (PDT) X-Received: by 2002:ab0:2bd2:: with SMTP id s18mr54221819uar.78.1636017158102; Thu, 04 Nov 2021 02:12:38 -0700 (PDT) MIME-Version: 1.0 References: <1635933244-6553-1-git-send-email-volodymyr.mytnyk@plvision.eu> In-Reply-To: <1635933244-6553-1-git-send-email-volodymyr.mytnyk@plvision.eu> From: Geert Uytterhoeven Date: Thu, 4 Nov 2021 10:12:26 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net v2] net: marvell: prestera: fix hw structure laid out To: Volodymyr Mytnyk Cc: Jakub Kicinski , Andrew Lunn , mickeyr@marvell.com, serhiy.pshyk@plvision.eu, taras.chornyi@plvision.eu, Volodymyr Mytnyk , Taras Chornyi , "David S. Miller" , Vadym Kochan , Yevhen Orlov , netdev , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Volodymyr, On Wed, Nov 3, 2021 at 10:56 AM Volodymyr Mytnyk wrote: > From: Volodymyr Mytnyk > > - fix structure laid out discussed in: > [PATCH net-next v4] net: marvell: prestera: add firmware v4.0 support > https://www.spinics.net/lists/kernel/msg4127689.html > > - fix review comments discussed in: > [PATCH] [-next] net: marvell: prestera: Add explicit padding > https://www.spinics.net/lists/kernel/msg4130293.html > > - fix patchwork issues > - rebase on net master > > Reported-by: kernel test robot > Fixes: bb5dbf2cc64d ("net: marvell: prestera: add firmware v4.0 support") > Signed-off-by: Volodymyr Mytnyk Thanks for your patch! > --- a/drivers/net/ethernet/marvell/prestera/prestera_hw.c > +++ b/drivers/net/ethernet/marvell/prestera/prestera_hw.c > struct prestera_msg_port_flood_param { > u8 type; > u8 enable; > -}; > + u8 __pad[2]; > +} __packed; What's the point of having __packed on a struct of bytes? Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds