From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91F8CC433F5 for ; Thu, 17 Mar 2022 16:17:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234346AbiCQQSw (ORCPT ); Thu, 17 Mar 2022 12:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233656AbiCQQSv (ORCPT ); Thu, 17 Mar 2022 12:18:51 -0400 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id DC7902156D3 for ; Thu, 17 Mar 2022 09:17:34 -0700 (PDT) Received: (qmail 8673 invoked by uid 1000); 17 Mar 2022 12:17:34 -0400 Date: Thu, 17 Mar 2022 12:17:34 -0400 From: Alan Stern To: kernel test robot Cc: Andrew Morton , LinusTorvalds@rowland.harvard.edu, torvalds@linux-foundation.org, USB mailing list , USB Storage list Subject: Re: [linux-next:master] BUILD REGRESSION 8a11187eb62b8b910d2c5484e1f5d160e8b11eb4 Message-ID: References: <6232d299.9omOW8g6S6l31UFc%lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6232d299.9omOW8g6S6l31UFc%lkp@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org On Thu, Mar 17, 2022 at 02:18:01PM +0800, kernel test robot wrote: > tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > branch HEAD: 8a11187eb62b8b910d2c5484e1f5d160e8b11eb4 Add linux-next specific files for 20220316 > drivers/usb/storage/ene_ub6250.c:2416:27: warning: array subscript 'struct SD_STATUS[0]' is partly outside array bounds of 'u8[1]' {aka 'unsigned char[1]'} [-Warray-bounds] > drivers/usb/storage/ene_ub6250.c:2417:27: warning: array subscript 'struct MS_STATUS[0]' is partly outside array bounds of 'u8[1]' {aka 'unsigned char[1]'} [-Warray-bounds] > drivers/usb/storage/ene_ub6250.c:2418:27: warning: array subscript 'struct SM_STATUS[0]' is partly outside array bounds of 'u8[1]' {aka 'unsigned char[1]'} [-Warray-bounds] These warnings seem pretty bogus. Their meaning isn't entirely clear, but the statements they complain about copy a 1-byte location to a structure consisting of eight 1-bit fields (or the equivalent). Do the structure declarations need to be "packed"? Alan Stern