From patchwork Mon Sep 18 16:42:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philipp Hortmann X-Patchwork-Id: 14182 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3094740vqi; Mon, 18 Sep 2023 19:55:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IETpnfWFpwqiVM42BDaJYtqsVNElMWAPeus/GDdEfXs2QM1EMWOOxzIQGeE795Q3jfI/Gp/ X-Received: by 2002:ac8:5ad2:0:b0:412:1c5f:4783 with SMTP id d18-20020ac85ad2000000b004121c5f4783mr16561121qtd.10.1695092156526; Mon, 18 Sep 2023 19:55:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695092156; cv=none; d=google.com; s=arc-20160816; b=HY5sjY4JiZ1sdILXJNa9YAiVtXfVEdFollzuOUeIoEvPJC40sXGqpgMw9b3EMPiMie zrhfLW1SDaWfiqrcmtCBBVwKFnD8BmRzJw4KowElyzc0KKSakTqhXbOpxdBEMve0Thjc jAMhrEmfG6ufsFij9yMztEu0qZd9cHTWKe4rxTTe9L+mqwOIZEeizWwi+3scwBd06JtF tA0xZkO56SKxMGKDVrPCGMLj4hmA7sVFSIDpskynKGkCqSRyJYlqmUTyxK5IEArmljkI /ge4Cy1qkIT3ulzV8z4ZJtttZG/vpV4Y6Q3OrjY6X8RQWjuh355tl+/YlisTWuyI0PsF ql2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=EDTSwwfCQFc0vmO7Ha3nLis2+qn7gif0VNZaosxPawo=; fh=Sw1rtAM+hKyOoOQVYiiLzcdjc4spg79Z/tN6UmWUAKs=; b=ViGC5HAZktWPR6jcSebWJjHIVR8gWKgMwNHh0TfcGrw1XqUQyrEB51RWaLtOVZiI0f 6BAZ/FEhDF2gl/4xZdIDTcKXh965vmht0DpthNMNudf07gHj7ZoKG2a5dd7v3NMQLIi9 4BA7EM6Eq1T470gaQAMvrbLFN/EkpIiObb7sBfSlMoWOr6uI2+xoUmU/eR4qQeJEPLvU 2vsXIX4Qtys7ruYy52aLUfDFmAwuMhQ5QKRTZb5B94M22bf9VJ56qikh5xrAbCcCOyHU yz/mLfv4LLKhv7+jDYS+tDioXtBHI4YE0n3ZnLzpqSJASO5IGA+PRBdiIZ+9DAYqDOV6 sWzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JmreFbHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id s28-20020a63525c000000b005704979833csi8617561pgl.855.2023.09.18.19.55.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 19:55:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JmreFbHK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 2D41381E554D; Mon, 18 Sep 2023 09:45:15 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229901AbjIRQod (ORCPT + 25 others); Mon, 18 Sep 2023 12:44:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230437AbjIRQoU (ORCPT ); Mon, 18 Sep 2023 12:44:20 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 40CCC5580 for ; Mon, 18 Sep 2023 09:43:01 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-404724ec0dcso12306445e9.1 for ; Mon, 18 Sep 2023 09:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695055379; x=1695660179; darn=vger.kernel.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=EDTSwwfCQFc0vmO7Ha3nLis2+qn7gif0VNZaosxPawo=; b=JmreFbHKssr/wm1ISd1jHztuTHPKsmpebn+gLRSNXqoKP+qDCW5LCxDuEz171pLo5U ZJoahYEm1a2F1084e/DllgildXJRmvQSXsvvAQ66niLS4CNYd07eI5rdK5Kqvy/pqBro Q3t4tbLdz46EbGa/bEXGE7qEq2hP+8ldj3w5j6hcKKhLUn8b/9inoCb93sAhuFO68Qfh z4+1gusXbTR/F167IdtMbPjzuekTcrikPElCJagcNtZ8N04cDIlzmnhc8YNVe/qRecUV mef6nkou0+Pd9WY1fR6dD2N4DvvifBRgujs0laHABqSFFFxqau4ifplE8TNavZmo02gN ZCtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695055379; x=1695660179; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EDTSwwfCQFc0vmO7Ha3nLis2+qn7gif0VNZaosxPawo=; b=MEXeXRUch5G3gSyt0N10hTy+8j+ajbNAM0kutlxjA/8sV5cV6GerKRrvWAddJY7dDC COXTvSFG1DBrXph3oYPKHB8cqaaX3o7HyE1fZmOyk75yiPieVcAeiDq0hQWpwOhh5O9S mpFkNvjrVjt+tdpA+51jkP0UZRsrn7XXVkJ5QYL2bIFnXYI+5f4wqBDZATIh+1eqCSE6 O2aHy1AMeLuCfKKd622Beg6+Re+fTKHGuqqD4w03c9gQUEPu/kBLgEzkGT0fcbgC5JHe 4v+3hIbM7AI/CqIBEZBeGinbOyihByMr1/5bZ86jzB6xfik5W/zcQZwJtyJZ+qY88L3l mlxg== X-Gm-Message-State: AOJu0Yzcf3SLP49+LMtUnvSTnTKVqn3H/j110yUv/HR7I06dJRmZTUD5 F5VYrVb+B9rhhRJ7y0UG834= X-Received: by 2002:a05:600c:5006:b0:404:7606:a871 with SMTP id n6-20020a05600c500600b004047606a871mr8816012wmr.2.1695055379264; Mon, 18 Sep 2023 09:42:59 -0700 (PDT) Received: from matrix-ESPRIMO-P710 (p579356c7.dip0.t-ipconnect.de. [87.147.86.199]) by smtp.gmail.com with ESMTPSA id m7-20020a05600c280700b003fed630f560sm12829863wmb.36.2023.09.18.09.42.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 09:42:58 -0700 (PDT) Date: Mon, 18 Sep 2023 18:42:56 +0200 From: Philipp Hortmann To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] staging: rtl8192e: Fix alignment of structs and truncated writing Message-ID: MIME-Version: 1.0 Content-Disposition: inline X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 18 Sep 2023 09:45:15 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777432953083853178 X-GMAIL-MSGID: 1777432953083853178 Fix alignment of structs and compiler warning truncated writing. Tested with rtl8192e (WLL6130-D99) in Mode n (12.2 MB/s) Transferred this patch over wlan connection of rtl8192e. Philipp Hortmann (2): staging: rtl8192e: Fix alignment of structs in rtllib.h to two staging: rtl8192e: Fix compiler warning truncated writing of iwe.u.name drivers/staging/rtl8192e/rtllib.h | 14 +++++++------- drivers/staging/rtl8192e/rtllib_wx.c | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-)