All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johan Hovold <johan@kernel.org>
To: Tomasz Unger <tomasz.unger@yahoo.pl>
Cc: Ayush Singh <ayushdevel1325@gmail.com>,
	Alex Elder <elder@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Ayush Singh <ayush@beagleboard.org>,
	greybus-dev@lists.linaro.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] greybus: gb-beagleplay: Select CRC32
Date: Tue, 1 Dec 2026 10:17:51 +0100	[thread overview]
Message-ID: <aw6QvxU-aqGb45QZ@hovoldconsulting.com> (raw)
In-Reply-To: <20261130-gb-beagleplay-select-crc32-v1-1-20c378cab331@yahoo.pl>

On Mon, Nov 30, 2026 at 12:28:58AM +0100, Tomasz Unger wrote:
> The firmware upload support calls crc32() in cc1352_prepare(), but
> GREYBUS_BEAGLEPLAY does not select CRC32. When nothing else selects it,
> the kernel fails to link:
> 
>   ld: drivers/greybus/gb-beagleplay.o: in function `cc1352_prepare':
>   gb-beagleplay.c:(.text.unlikely+0x34b): undefined reference to `crc32_le'
> 
> This was reproduced with an x86 allnoconfig with BLOCK disabled and
> GPIOLIB, SERIAL_DEV_BUS and the driver enabled. In most configurations
> CRC32 is selected elsewhere (OF_FLATTREE on arm64, EFI_PARTITION with
> BLOCK), which hides the problem.
> 
> Select CRC32, as the driver already does for CRC_CCITT.
> 
> Fixes: 0cf7befa3ea2 ("greybus: gb-beagleplay: Add firmware upload API")
> Signed-off-by: Tomasz Unger <tomasz.unger@yahoo.pl>

Acked-by: Johan Hovold <johan@kernel.org>

  reply	other threads:[~2026-12-01  9:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20261130-gb-beagleplay-select-crc32-v1-1-20c378cab331.ref@yahoo.pl>
2026-11-29 23:28 ` [PATCH] greybus: gb-beagleplay: Select CRC32 Tomasz Unger
2026-12-01  9:17   ` Johan Hovold [this message]
2026-12-01  9:40   ` Ayush Singh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw6QvxU-aqGb45QZ@hovoldconsulting.com \
    --to=johan@kernel.org \
    --cc=ayush@beagleboard.org \
    --cc=ayushdevel1325@gmail.com \
    --cc=elder@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=greybus-dev@lists.linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tomasz.unger@yahoo.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.