On Thu, Nov 22 2012, Andrzej Pietrasiewicz wrote:
> @@ -45,10 +46,9 @@
> #define VLDBG(lun, fmt, args...) do { } while (0)
> #endif /* VERBOSE_DEBUG */
>
> -#define LDBG(lun, fmt, args...) dev_dbg (&(lun)->dev, fmt, ## args)
> -#define LERROR(lun, fmt, args...) dev_err (&(lun)->dev, fmt, ## args)
> -#define LWARN(lun, fmt, args...) dev_warn(&(lun)->dev, fmt, ## args)
> -#define LINFO(lun, fmt, args...) dev_info(&(lun)->dev, fmt, ## args)
> +#define LERROR(lun, fmt, args...) pr_err(fmt, ## args)
> +#define LDBG(lun, fmt, args...) pr_debug(fmt, ## args)
> +#define LINFO(lun, fmt, args...) pr_info(fmt, ## args)
Why is it changed in this patch?
>
>
> #ifdef DUMP_MSGS
> @@ -141,7 +141,11 @@ struct fsg_lun {
> @@ -149,12 +153,6 @@ static inline bool fsg_lun_is_open(struct fsg_lun
> *curlun)
> return curlun->filp != NULL;
> }
>
> -static inline struct fsg_lun *fsg_lun_from_dev(struct device *dev)
> -{
> - return container_of(dev, struct fsg_lun, dev);
> -}
> -
> -
And this? It seems like it belongs to some other patch.
> /* Big enough to hold our biggest descriptor */
> #define EP0_BUFSIZE 256
> #define DELAYED_STATUS (EP0_BUFSIZE + 999) /* An impossibly large
> value */
--
Best regards, _ _
.o. | Liege of Serenely Enlightened Majesty of o' \,=./ `o
..o | Computer Science, Michał “mina86” Nazarewicz (o o)
ooo +----<email/xmpp: [email protected]>--------------ooO--(_)--Ooo--
pgpxn8ZpCQIsT.pgp
Description: PGP signature
